Skip to content

Commit 51d5de4

Browse files
authored
Merge pull request #22 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 5098d4a + 81643b1 commit 51d5de4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/htu21d_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
# Create sensor object, communicating over the board's default I2C bus
99
i2c = board.I2C() # uses board.SCL and board.SDA
10+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1011
sensor = HTU21D(i2c)
1112

1213

0 commit comments

Comments
 (0)