ArduinoINA219 icon indicating copy to clipboard operation
ArduinoINA219 copied to clipboard

busVoltageRaw() overflow

Open mflorian24 opened this issue 4 years ago • 1 comments

on input voltages above ~+12V, the returned value for raw voltage is negative. In the files INA219.h and INA219.cpp you have to change int16_t busVoltageRaw(); to int32_t busVoltageRaw();

mflorian24 avatar Feb 27 '21 20:02 mflorian24

accepted pull request. new version 1.0.5. let me know it it is ok

flav1972 avatar Mar 05 '21 22:03 flav1972