Skip to content

Commit 5697111

Browse files
authored
Merge pull request #26 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 8259ff9 + 39f2fdb commit 5697111

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/tsl2591_simpletest.py

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
# Create sensor object, communicating over the board's default I2C bus
1111
i2c = board.I2C() # uses board.SCL and board.SDA
12+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1213

1314
# Initialize the sensor.
1415
sensor = adafruit_tsl2591.TSL2591(i2c)

0 commit comments

Comments
 (0)