Skip to content

Commit

Permalink
Merge pull request #38 from adafruit/stemma_i2c
Browse files Browse the repository at this point in the history
Added commented out board.STEMMA_I2C with explanation
  • Loading branch information
evaherrada authored Nov 28, 2022
2 parents 5bce99f + 3117ce3 commit a2ef89a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/bno08x_quaternion_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from adafruit_ble_adafruit.quaternion_service import QuaternionService
from adafruit_bno08x import BNO08X

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

quat_svc = QuaternionService()
Expand Down

0 comments on commit a2ef89a

Please sign in to comment.