Skip to content

Commit

Permalink
Merge pull request #19 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 committed Nov 21, 2022
2 parents c503ceb + ba7d5e7 commit 5cdabd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/si1145_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

# setup I2C bus using board default
# change as needed for specific boards
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

# setup sensor
si1145 = adafruit_si1145.SI1145(i2c)
Expand Down

0 comments on commit 5cdabd8

Please sign in to comment.