Skip to content

Commit e163ff5

Browse files
authored
Merge pull request #14 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents ef0f05b + a0df21d commit e163ff5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/ahtx0_simpletest.py

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
# Create sensor object, communicating over the board's default I2C bus
1313
i2c = board.I2C() # uses board.SCL and board.SDA
14+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1415
sensor = adafruit_ahtx0.AHTx0(i2c)
1516

1617
while True:

0 commit comments

Comments
 (0)