Skip to content

Commit 8ecba9f

Browse files
committed
add 1 comment
1 parent bb439c1 commit 8ecba9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/ina219_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
shunt_voltage = ina219.shunt_voltage
2222
current = ina219.current
2323

24+
# INA219 measure bus voltage on the load side. So power supply voltage = busVoltage+shuntVoltage
2425
print("PSU Voltage: {:6.3f} V".format(bus_voltage + shunt_voltage))
2526
print("Shunt Voltage: {:9.6f} V".format(shunt_voltage))
2627
print("Load Voltage: {:6.3f} V".format(bus_voltage))

0 commit comments

Comments
 (0)