Skip to content

Commit

Permalink
Merge pull request #23 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 22, 2022
2 parents 492cf0d + dd9d2cb commit 24c8a87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/neotrellis_multitrellis_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from adafruit_neotrellis.multitrellis import MultiTrellis

# Create the I2C object for the NeoTrellis
i2c_bus = board.I2C()
i2c_bus = 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 NeoTrellis object
"""
Expand Down
3 changes: 2 additions & 1 deletion examples/neotrellis_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
from adafruit_neotrellis.neotrellis import NeoTrellis

# create the i2c object for the trellis
i2c_bus = board.I2C()
i2c_bus = 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 trellis
trellis = NeoTrellis(i2c_bus)
Expand Down

0 comments on commit 24c8a87

Please sign in to comment.