From 8fa2888d97600bc8285251b970bede95307d6536 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:31 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/tsc2007_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/tsc2007_simpletest.py b/examples/tsc2007_simpletest.py index 66dcd14..6940218 100644 --- a/examples/tsc2007_simpletest.py +++ b/examples/tsc2007_simpletest.py @@ -7,7 +7,8 @@ import adafruit_tsc2007 # Use for I2C -i2c = board.I2C() +i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller irq_dio = None # don't use an irq pin by default # uncomment for optional irq input pin so we don't continuously poll the I2C for touches