From 2ecd6223e7a3bb07241a724871f2e886673ac120 Mon Sep 17 00:00:00 2001 From: siddacious Date: Sun, 21 Jul 2019 15:31:45 -0700 Subject: [PATCH] fixing typo in example --- examples/ina260_simpletest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ina260_simpletest.py b/examples/ina260_simpletest.py index 4c2fd6c..2956a11 100644 --- a/examples/ina260_simpletest.py +++ b/examples/ina260_simpletest.py @@ -5,6 +5,6 @@ i2c = board.I2C() ina260 = adafruit_ina260.INA260(i2c) while True: - print("Current: %.2f mV Voltage: %.2f V Power:%.2f mW" + print("Current: %.2f mA Voltage: %.2f V Power:%.2f mW" %(ina260.current, ina260.voltage, ina260.power)) time.sleep(1)