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 8ee988d commit 4de6d14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/ens160_advancedtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import adafruit_ens160

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

ens = adafruit_ens160.ENS160(i2c)
print("Firmware Vers: ", ens.firmware_version)
Expand Down
1 change: 1 addition & 0 deletions examples/ens160_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import adafruit_ens160

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

ens = adafruit_ens160.ENS160(i2c)

Expand Down

0 comments on commit 4de6d14

Please sign in to comment.