Skip to content

Commit fa8fb0d

Browse files
authored
Merge pull request #28 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents a5c7ccc + 5c15bf3 commit fa8fb0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/fxos8700_simpletest.py

Lines changed: 1 addition & 0 deletions
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_fxos8700.FXOS8700(i2c)
1415
# Optionally create the sensor with a different accelerometer range (the
1516
# default is 2G, but you can use 4G or 8G values):

0 commit comments

Comments
 (0)