Skip to content

Commit 8de417d

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent 596605f commit 8de417d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/ahtx0_simpletest.py

Lines changed: 1 addition & 0 deletions
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)