Skip to content

Commit 9be362d

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent 5da22d0 commit 9be362d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/tcs34725_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

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

1516
# Change sensor integration time to values between 2.4 and 614.4 milliseconds

0 commit comments

Comments
 (0)