Skip to content

Commit

Permalink
Merge pull request #112 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 a7c29bd + 7d46cef commit a512a28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/bno055_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a512a28

Please sign in to comment.