Skip to content

Commit

Permalink
Added commented out board.STEMMA_I2C with explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
evaherrada committed Nov 18, 2022
1 parent 6f029d4 commit f00e545
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/lsm9ds1_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

# Create sensor object, communicating over the board's default I2C bus
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_lsm9ds1.LSM9DS1_I2C(i2c)

# SPI connection:
Expand Down

0 comments on commit f00e545

Please sign in to comment.