Skip to content

Commit 40e7afa

Browse files
authored
Update ina219_simpletest.py
Fix minor typo. Add params to INA219() method
1 parent e431ce0 commit 40e7afa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ina219_simpletest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Sample code and test for adafruit_in219"""
1+
"""Sample code and test for adafruit_ina219"""
22

33
import time
44
import board
@@ -7,7 +7,7 @@
77

88
i2c_bus = board.I2C()
99

10-
ina219 = INA219(i2c_bus)
10+
ina219 = INA219(i2c_bus=i2c_bus, addr=0x40)
1111

1212
print("ina219 test")
1313

0 commit comments

Comments
 (0)