Skip to content

Commit 221a108

Browse files
committed
Fixed solid color fill lines
1 parent bf6ceb4 commit 221a108

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/strip.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ def rainbow_cycle(wait):
4646
time.sleep(wait)
4747

4848
while True:
49-
strip.fill((255, 0, 0))
49+
strip.fill(format_tuple(255, 0, 0))
5050
strip.show()
5151
time.sleep(1)
5252

53-
strip.fill((0, 255, 0))
53+
strip.fill(format_tuple(0, 255, 0))
5454
strip.show()
5555
time.sleep(1)
5656

57-
strip.fill((0, 0, 255))
57+
strip.fill(format_tuple(0, 0, 255))
5858
strip.show()
5959
time.sleep(1)
6060

0 commit comments

Comments
 (0)