Implement alternate voltage divider equation

This commit is contained in:
2024-09-20 01:07:31 +02:00
parent 682650dedb
commit db876151d6
2 changed files with 44 additions and 20 deletions

View File

@@ -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.