Skip to content

Commit

Permalink
Merge pull request #41 from adafruit/stemma_i2c
Browse files Browse the repository at this point in the history
Added commented out board.STEMMA_I2C with explanation
  • Loading branch information
evaherrada authored Nov 21, 2022
2 parents 22dcb83 + fc61e48 commit c971384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/tca9548a_multisensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions examples/tca9548a_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c971384

Please sign in to comment.