import time
from neopixel import NeoPixel
from machine import Pin

N_LEDS = 16
NEO_PIN = Pin(14)
RED = (255, 0, 0)
BLUE = (0, 0, 255)

pix = NeoPixel(NEO_PIN, N_LEDS)

print(f"There are {pix.n} pixels")

for n in range(N_LEDS):
    pix[n] = (23, n * 40 + 40, 100)
    pix.write()
    time.sleep(.3)


BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT