Skip to content

Commit

Permalink
Merge pull request #22 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 9470e9c + 7f3912c commit 760eb30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/pct2075_high_temp_alert_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import adafruit_pct2075

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

pct.high_temperature_threshold = 35.5
Expand Down
1 change: 1 addition & 0 deletions examples/pct2075_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import adafruit_pct2075

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

while True:
Expand Down

0 comments on commit 760eb30

Please sign in to comment.