13 lines
345 B
Python
13 lines
345 B
Python
import board
|
|
import dotstar_featherwing
|
|
import time
|
|
|
|
wing = dotstar_featherwing.DotstarFeatherwing(board.D13, board.D11)
|
|
|
|
# count from 0->63, shifting the binary pattern in from the left
|
|
while True:
|
|
wing.clear()
|
|
for x in range(64):
|
|
wing.shift_into_left(wing.number_to_pixels(x, (64, 0, 0)))
|
|
wing.show()
|
|
time.sleep(0.2)
|