One pixel two pixel red pixel blue pixel

This commit is contained in:
Kattni Rembor 2018-05-25 16:13:28 -04:00
parent 4f198a5558
commit 7bae534fa7
2 changed files with 8 additions and 1 deletions

View file

@ -3,4 +3,4 @@ from adafruit_circuitplayground.express import cpx
cpx.pixels.brightness = 0.3
while True:
cpx.pixels[0] = (0, 255, 0)
cpx.pixels[0] = (255, 0, 0)

View file

@ -0,0 +1,7 @@
from adafruit_circuitplayground.express import cpx
cpx.pixels.brightness = 0.3
while True:
cpx.pixels[0] = (255, 0, 0)
cpx.pixels[0] = (0, 0, 255)