We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fb64c1 commit d849d9dCopy full SHA for d849d9d
examples/ina228_simpletest.py
@@ -18,7 +18,7 @@
18
19
while True:
20
print("\nCurrent Measurements:")
21
- print(f"Current: {ina228.current:.2f} mA")
+ print(f"Current: {ina228.current*1000:.2f} mA")
22
print(f"Bus Voltage: {ina228.bus_voltage:.2f} V")
23
print(f"Shunt Voltage: {ina228.shunt_voltage*1000:.2f} mV")
24
print(f"Power: {ina228.power:.2f} mW")
0 commit comments