circuitplayground_neopixel_0_1.py
1 """This example lights up the first and second NeoPixel, red and blue respectively.""" 2 from adafruit_circuitplayground.express import cpx 3 4 cpx.pixels.brightness = 0.3 5 6 while True: 7 cpx.pixels[0] = (255, 0, 0) 8 cpx.pixels[1] = (0, 0, 255)