Skip to content

Commit ff65675

Browse files
authored
Merge pull request #11 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 867fd16 + ce5bacf commit ff65675

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/ms8607_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import board
55
from adafruit_ms8607 import MS8607
66

7-
i2c = board.I2C()
7+
i2c = board.I2C() # uses board.SCL and board.SDA
8+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
89
sensor = MS8607(i2c)
910

1011
while True:

0 commit comments

Comments
 (0)