adafruit / Adafruit_INA219

INA219 Current Sensor
Other
204 stars 145 forks source link

Incorrect values from getShuntVoltage_Raw() and getCurrent_raw() when bidirectional current flow is measured. #56

Closed malbrook closed 10 months ago

malbrook commented 10 months ago

This works correctly and if used in the other two functions provides correct values for current flow in either direction.