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 authored Nov 28, 2022
2 parents 3e5989e + 487cec0 commit 435ce8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/hts221_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import board
import adafruit_hts221

i2c = board.I2C()
i2c = board.I2C() # uses board.SCL and board.SDA
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
hts = adafruit_hts221.HTS221(i2c)

data_rate = adafruit_hts221.Rate.label[hts.data_rate]
Expand Down

0 comments on commit 435ce8d

Please sign in to comment.