Skip to content

Commit 760eb30

Browse files
authored
Merge pull request #22 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 9470e9c + 7f3912c commit 760eb30

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/pct2075_high_temp_alert_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import adafruit_pct2075
77

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

1112
pct.high_temperature_threshold = 35.5

examples/pct2075_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import adafruit_pct2075
77

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

1112
while True:

0 commit comments

Comments
 (0)