Skip to content

Commit d8a77d2

Browse files
committed
Add circle example
1 parent e94dc65 commit d8a77d2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

examples/circle_shift/main.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import board
2+
import dotstar_featherwing
3+
import time
4+
5+
wing = dotstar_featherwing.DotstarFeatherwing(board.D13, board.D11)
6+
7+
wing.clear()
8+
wing.show()
9+
time.sleep(2.0)
10+
for x in [12, 18, 33, 33, 18, 12]:
11+
wing.shift_into_left(wing.number_to_pixels(x, (0, 64, 0)))
12+
wing.show()
13+
time.sleep(0.2)
14+

0 commit comments

Comments
 (0)