From 2a727183f0e1a598a5ad917ffb3f59752ce58761 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:30 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/tca9548a_multisensor.py | 1 + examples/tca9548a_simpletest.py | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/tca9548a_multisensor.py b/examples/tca9548a_multisensor.py index c04289e..24f61f4 100644 --- a/examples/tca9548a_multisensor.py +++ b/examples/tca9548a_multisensor.py @@ -10,6 +10,7 @@ # Create I2C bus as normal i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # Create the TCA9548A object and give it the I2C bus tca = adafruit_tca9548a.TCA9548A(i2c) diff --git a/examples/tca9548a_simpletest.py b/examples/tca9548a_simpletest.py index 0b2c6d6..f13a5ea 100644 --- a/examples/tca9548a_simpletest.py +++ b/examples/tca9548a_simpletest.py @@ -7,6 +7,7 @@ # Create I2C bus as normal i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # Create the TCA9548A object and give it the I2C bus tca = adafruit_tca9548a.TCA9548A(i2c)