Skip to content

Commit

Permalink
Merge pull request #11 from adafruit/stemma_i2c
Browse files Browse the repository at this point in the history
Added commented out board.STEMMA_I2C with explanation
  • Loading branch information
evaherrada committed Nov 21, 2022
2 parents c88b5eb + 545f530 commit 6edad4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/sht4x_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import adafruit_sht4x

i2c = board.I2C() # uses board.SCL and board.SDA
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
sht = adafruit_sht4x.SHT4x(i2c)
print("Found SHT4x with serial number", hex(sht.serial_number))

Expand Down

0 comments on commit 6edad4d

Please sign in to comment.