Skip to content

Commit 8fa2888

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent 5f91947 commit 8fa2888

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)