Skip to content

Commit 22289f1

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent 7e09e71 commit 22289f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/bno055_simpletest.py

Lines changed: 2 additions & 1 deletion
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)