Skip to content

Commit 7bae534

Browse files
committed
One pixel two pixel red pixel blue pixel
1 parent 4f198a5 commit 7bae534

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CircuitPython_Made_Easy_On_CPX/cpx_neopixel_0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
cpx.pixels.brightness = 0.3
44

55
while True:
6-
cpx.pixels[0] = (0, 255, 0)
6+
cpx.pixels[0] = (255, 0, 0)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from adafruit_circuitplayground.express import cpx
2+
3+
cpx.pixels.brightness = 0.3
4+
5+
while True:
6+
cpx.pixels[0] = (255, 0, 0)
7+
cpx.pixels[0] = (0, 0, 255)

0 commit comments

Comments
 (0)