Skip to content

Commit

Permalink
Merge pull request #26 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 1c19d0c + e790f95 commit c1088ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/dps310_low_power_weather_station.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from adafruit_dps310 import advanced

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

dps310.reset()
Expand Down
1 change: 1 addition & 0 deletions examples/dps310_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from adafruit_dps310.basic import DPS310

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

while True:
Expand Down
1 change: 1 addition & 0 deletions examples/dps310_simpletest_advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from adafruit_dps310.advanced import DPS310_Advanced as DPS310

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

while True:
Expand Down

0 comments on commit c1088ff

Please sign in to comment.