From 2ebbc504d48c749761763abdb5302fde9f57f835 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:31 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/tsl2591_simpletest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/tsl2591_simpletest.py b/examples/tsl2591_simpletest.py index 3a7fbc4..dc923cb 100644 --- a/examples/tsl2591_simpletest.py +++ b/examples/tsl2591_simpletest.py @@ -9,6 +9,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 # Initialize the sensor. sensor = adafruit_tsl2591.TSL2591(i2c)