Skip to content

Commit 49bb2c0

Browse files
authored
Merge pull request #35 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents ad68f55 + c6d3b35 commit 49bb2c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/lsm9ds1_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
# Create sensor object, communicating over the board's default I2C bus
1111
i2c = board.I2C() # uses board.SCL and board.SDA
12+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1213
sensor = adafruit_lsm9ds1.LSM9DS1_I2C(i2c)
1314

1415
# SPI connection:

0 commit comments

Comments
 (0)