fixes to color value parens
This commit is contained in:
parent
e990348aed
commit
311537731d
1 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ WHITE = (3, 3, 3)
|
|||
|
||||
COLORS = [MAGENTA, VIOLET, BLUE, CYAN, GREEN, YELLOW, ORANGE, RED, WHITE]
|
||||
|
||||
cpx.pixels.fill((WHITE))
|
||||
cpx.pixels.fill(WHITE)
|
||||
|
||||
while True:
|
||||
for i in range(7):
|
||||
|
|
@ -37,6 +37,6 @@ while True:
|
|||
|
||||
if touch_pads[i].value:
|
||||
# print("Touched %s" % i) # uncomment for debugging
|
||||
cpx.pixels.fill((RED))
|
||||
cpx.pixels.fill(RED)
|
||||
cpx.play_tone(660, 0.7)
|
||||
cpx.pixels.fill((COLORS[i]))
|
||||
cpx.pixels.fill(COLORS[i])
|
||||
|
|
|
|||
Loading…
Reference in a new issue