From 1a30bc2b79ca227bb8b991ba77b23824a6256593 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:28 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/pct2075_high_temp_alert_example.py | 1 + examples/pct2075_simpletest.py | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/pct2075_high_temp_alert_example.py b/examples/pct2075_high_temp_alert_example.py index 2ec4e88..a1c1c61 100644 --- a/examples/pct2075_high_temp_alert_example.py +++ b/examples/pct2075_high_temp_alert_example.py @@ -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 diff --git a/examples/pct2075_simpletest.py b/examples/pct2075_simpletest.py index 99219f1..48c8558 100755 --- a/examples/pct2075_simpletest.py +++ b/examples/pct2075_simpletest.py @@ -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: