Update main.c remove 400k

beta-add
Alan Johnston 2 years ago committed by GitHub
parent c5419199b4
commit db421743ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2183,7 +2183,6 @@ void read_adc()
}
// Get I2C device, ADS7830 I2C address is 0x48(72)
ioctl(file, I2C_SLAVE, 0x48);
ioctl(file, I2C_SET_SPEED, 400000);
// Differential inputs, Channel-0, Channel-1 selected
char config[1] = {0x04};

Loading…
Cancel
Save

Powered by TurnKey Linux.