mirror of https://github.com/periph/devices
ina219: Interpret signed output register values (#54)
The current and shunt voltage register values are signed, twos complement format. In my tests interpreting them directly in the way implemented here gave output consistent with other ina219 libraries. Co-authored-by: Eldon Stegall <periphgithub@eldondev.com>pull/57/head
parent
212f060876
commit
ae3205944c
Loading…
Reference in New Issue