Skip to content

Commit ffd5f99

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent 48a964d commit ffd5f99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/ina219_simpletest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
from adafruit_ina219 import ADCResolution, BusVoltageRange, INA219
99

1010

11-
i2c_bus = board.I2C()
11+
i2c_bus = board.I2C() # uses board.SCL and board.SDA
12+
# i2c_bus = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1213

1314
ina219 = INA219(i2c_bus)
1415

0 commit comments

Comments
 (0)