Skip to content

Commit ae24134

Browse files
authored
Merge pull request #41 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 55482d1 + b7da2af commit ae24134

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)