Skip to content

Commit 6edad4d

Browse files
authored
Merge pull request #11 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents c88b5eb + 545f530 commit 6edad4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/sht4x_simpletest.py

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

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
sht = adafruit_sht4x.SHT4x(i2c)
1112
print("Found SHT4x with serial number", hex(sht.serial_number))
1213

0 commit comments

Comments
 (0)