Skip to content

Commit 8cd5da2

Browse files
authored
Merge pull request #27 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents b2658f1 + c817637 commit 8cd5da2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/fxas21002c_simpletest.py

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
# Create sensor object, communicating over the board's default I2C bus
1212
i2c = board.I2C() # uses board.SCL and board.SDA
13+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1314
sensor = adafruit_fxas21002c.FXAS21002C(i2c)
1415
# Optionally create the sensor with a different gyroscope range (the
1516
# default is 250 DPS, but you can use 500, 1000, or 2000 DPS values):

0 commit comments

Comments
 (0)