Skip to content

Commit

Permalink
Merge pull request #7 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 committed Nov 21, 2022
2 parents 610631a + e7359bc commit 5f258ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/tla202x_analog_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
#
########################################

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
tla = TLA.TLA2024(i2c)
val_max = (2**15) - 1
pin_0 = AnalogIn(tla, TLA.A0)
Expand Down

0 comments on commit 5f258ad

Please sign in to comment.