Skip to content

Commit a512a28

Browse files
authored
Merge pull request #112 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents a7c29bd + 7d46cef commit a512a28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/bno055_simpletest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import adafruit_bno055
77

88

9-
i2c = board.I2C()
9+
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
sensor = adafruit_bno055.BNO055_I2C(i2c)
1112

1213
# If you are going to use UART uncomment these lines

0 commit comments

Comments
 (0)