Skip to content

Commit a2ef89a

Browse files
authored
Merge pull request #38 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 5bce99f + 3117ce3 commit a2ef89a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/bno08x_quaternion_service.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
from adafruit_ble_adafruit.quaternion_service import QuaternionService
99
from adafruit_bno08x import BNO08X
1010

11-
i2c = board.I2C()
11+
i2c = board.I2C() # uses board.SCL and board.SDA
12+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1213
bno = BNO08X(i2c)
1314

1415
quat_svc = QuaternionService()

0 commit comments

Comments
 (0)