Skip to content

Commit 1e378ee

Browse files
committed
Update wheel
1 parent 3d9da33 commit 1e378ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CircuitPlayground_Christmas_Tree/CircuitPlayground_Christmas_Tree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def wheel(pos):
4242
r = 0
4343
g = int(pos * 3)
4444
b = int(255 - pos * 3)
45-
return (r, g, b) if ORDER == neopixel.RGB or ORDER == neopixel.GRB else (r, g, b, 0)
45+
return (r, g, b) if ORDER in (neopixel.RGB, neopixel.GRB) else (r, g, b, 0)
4646

4747

4848
def rainbow_swirl(wait):

0 commit comments

Comments
 (0)