One pixel two pixel red pixel blue pixel
This commit is contained in:
parent
4f198a5558
commit
7bae534fa7
2 changed files with 8 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
7
CircuitPython_Made_Easy_On_CPX/cpx_neopixel_0_1.py
Normal file
7
CircuitPython_Made_Easy_On_CPX/cpx_neopixel_0_1.py
Normal 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)
|
||||
Loading…
Reference in a new issue