File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 7
7
from adafruit_neotrellis .multitrellis import MultiTrellis
8
8
9
9
# Create the I2C object for the NeoTrellis
10
- i2c_bus = board .I2C ()
10
+ i2c_bus = board .I2C () # uses board.SCL and board.SDA
11
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
11
12
12
13
# Create the NeoTrellis object
13
14
"""
Original file line number Diff line number Diff line change 6
6
from adafruit_neotrellis .neotrellis import NeoTrellis
7
7
8
8
# create the i2c object for the trellis
9
- i2c_bus = board .I2C ()
9
+ i2c_bus = board .I2C () # uses board.SCL and board.SDA
10
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
10
11
11
12
# create the trellis
12
13
trellis = NeoTrellis (i2c_bus )
You can’t perform that action at this time.
0 commit comments