13 lines
347 B
Python
13 lines
347 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 right
|
|
while True:
|
|
wing.clear()
|
|
for x in range(64):
|
|
wing.shift_into_right(wing.number_to_pixels(x, (64, 0, 0)))
|
|
wing.show()
|
|
time.sleep(0.2)
|