Implement alternate voltage divider equation
This commit is contained in:
@@ -525,7 +525,7 @@ word I2C_ADS1115_ReadRaw(int channel)
|
||||
// 110 | ±0.256 V
|
||||
// 111 | ±0.256 V
|
||||
|
||||
gain = 0x0000; // 6.144 V | 00000100 00000000
|
||||
gain = 0x0000; // 6.144 V | 00000000 00000000
|
||||
|
||||
// Input multiplexer configuration: These bits
|
||||
// configure the input multiplexer.
|
||||
|
||||
Reference in New Issue
Block a user