Skip to content

Commit e924532

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent c8c7cf0 commit e924532

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/bno08x_quaternion_service.py

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