From 22289f11ab3ba5c7cc8fe0cd88940bd9afb62ea2 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:21 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/bno055_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/bno055_simpletest.py b/examples/bno055_simpletest.py index 42e2a9f..97b7100 100644 --- a/examples/bno055_simpletest.py +++ b/examples/bno055_simpletest.py @@ -6,7 +6,8 @@ import adafruit_bno055 -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 sensor = adafruit_bno055.BNO055_I2C(i2c) # If you are going to use UART uncomment these lines