Skip to content

Commit 10809c8

Browse files
authored
Merge pull request #28 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 2983f34 + dfe2148 commit 10809c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/l3gd20_simpletest.py

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

88
# Hardware I2C setup:
99
I2C = board.I2C() # uses board.SCL and board.SDA
10+
# I2C = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1011
# Initializes L3GD20 object using default range, 250dps
1112
SENSOR = adafruit_l3gd20.L3GD20_I2C(I2C)
1213
# Initialize L3GD20 object using a custom range and output data rate (ODR).

0 commit comments

Comments
 (0)