Update gemma_m0_clockwork_goggles.py
Fixed one color line for RGB NeoPixels (had an erroneous fourth value on line 33)
This commit is contained in:
parent
383a37afd2
commit
712e14a292
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ def cog(pos):
|
|||
#return (120, 0, 0, 0) #first color, red: for RGBW NeoPixels
|
||||
return (120, 0, 0) #first color, red: for RGB NeoPixels
|
||||
if (pos < 85):
|
||||
return (int(pos * 3), int(255 - (pos*3)), 0, 0)
|
||||
return (int(pos * 3), int(255 - (pos*3)), 0)
|
||||
#return (125, 35, 0, 0) #second color, brass: for RGBW NeoPixels
|
||||
return (125, 35, 0) #second color, brass: for RGB NeoPixels
|
||||
elif (pos < 170):
|
||||
|
|
|
|||
Loading…
Reference in a new issue