Skip to content

Commit 68cd4a7

Browse files
committed
Add multitrellis to docs and a couple typos
1 parent 94ac5c4 commit 68cd4a7

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

docs/api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
77
.. automodule:: adafruit_neotrellis.neotrellis
88
:members:
9+
10+
.. automodule:: adafruit_neotrellis.multitrellis
11+
:members:

examples/neotrellis_multitrellis_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def blink(xcoord, ycoord, edge):
4040
# turn the LED on when a rising edge is detected
4141
if edge == NeoTrellis.EDGE_RISING:
4242
trellis.color(xcoord, ycoord, BLUE)
43-
# turn the LED off when a rising edge is detected
43+
# turn the LED off when a falling edge is detected
4444
elif edge == NeoTrellis.EDGE_FALLING:
4545
trellis.color(xcoord, ycoord, OFF)
4646

examples/neotrellis_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def blink(event):
2727
# turn the LED on when a rising edge is detected
2828
if event.edge == NeoTrellis.EDGE_RISING:
2929
trellis.pixels[event.number] = CYAN
30-
# turn the LED off when a rising edge is detected
30+
# turn the LED off when a falling edge is detected
3131
elif event.edge == NeoTrellis.EDGE_FALLING:
3232
trellis.pixels[event.number] = OFF
3333

0 commit comments

Comments
 (0)