From b81b8cb09059630569e1f15200219be8d2c8b8ec Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:24 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/htu21d_simpletest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/htu21d_simpletest.py b/examples/htu21d_simpletest.py index b11ac43..7bd0bec 100644 --- a/examples/htu21d_simpletest.py +++ b/examples/htu21d_simpletest.py @@ -7,6 +7,7 @@ # Create sensor object, communicating over the board's default I2C bus i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller sensor = HTU21D(i2c)