from neopixel import Neopixel
from time import sleep

## Setup
NUM_LEDS = 16
LED_PIN = 6
pixels = Neopixel(NUM_LEDS, 0, LED_PIN, "GRB")

## Constants
red = pixels.colorHSV(0, 255, 255)
green = pixels.colorHSV(21845, 255, 255)
blue = pixels.colorHSV(43691, 255, 255)

## Loop
while True:
  for hue in range(0, 65535, 500):
    color = pixels.colorHSV(hue, 255, 255)
    pixels.fill(color)
    pixels.show()
    sleep(0.05)

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