8 lines
244 B
Python
8 lines
244 B
Python
"""This example lights up the first and second NeoPixel, red and blue respectively."""
|
|
from adafruit_circuitplayground.express import cpx
|
|
|
|
cpx.pixels.brightness = 0.3
|
|
|
|
while True:
|
|
cpx.pixels[0] = (255, 0, 0)
|
|
cpx.pixels[1] = (0, 0, 255)
|