From 97f5bcd660035af9ffa977220ab9214a159ff2bb Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:29 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/sht4x_simpletest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/sht4x_simpletest.py b/examples/sht4x_simpletest.py index 43342e8..2b90686 100644 --- a/examples/sht4x_simpletest.py +++ b/examples/sht4x_simpletest.py @@ -7,6 +7,7 @@ import adafruit_sht4x i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller sht = adafruit_sht4x.SHT4x(i2c) print("Found SHT4x with serial number", hex(sht.serial_number))