Skip to content

Commit 435ce8d

Browse files
authored
Merge pull request #11 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 3e5989e + 487cec0 commit 435ce8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/hts221_simpletest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
import board
66
import adafruit_hts221
77

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

1112
data_rate = adafruit_hts221.Rate.label[hts.data_rate]

0 commit comments

Comments
 (0)