Skip to content

Commit f82ca03

Browse files
authored
Merge pull request #35 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents a751589 + deed79c commit f82ca03

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)