Skip to content

Commit 50d46b8

Browse files
committed
fixed turn-off sequence; it was leaving led zero on
1 parent 456b173 commit 50d46b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/trellis_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
# Turn off every LED, one at a time
4141
print('Turning off each LED, one at a time...')
42-
for i in range(15,0,-1):
42+
for i in range(15,-1,-1):
4343
trellis.led[i] = False
4444
time.sleep(.1)
4545

0 commit comments

Comments
 (0)