Skip to content

Commit dadab1c

Browse files
authored
Merge pull request #3 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 2aa35d0 + eaa79a0 commit dadab1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/tsc2007_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
import adafruit_tsc2007
88

99
# Use for I2C
10-
i2c = board.I2C()
10+
i2c = board.I2C() # uses board.SCL and board.SDA
11+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1112

1213
irq_dio = None # don't use an irq pin by default
1314
# uncomment for optional irq input pin so we don't continuously poll the I2C for touches

0 commit comments

Comments
 (0)