from machine import Pin
import time
from neopixel import Neopixel
led = Pin(22, Pin.OUT)
RledG = Neopixel(16, 0, 3, "GRB")
yellow = (255, 100, 0)
orange = (255, 50, 0)
green = (0, 255, 0)
blue = (0, 0, 255)
red = (255, 0, 0)
color0 = red
RledG.brightness(100)
RledG.fill(orange)
RledG.show()
print("orange")
time.sleep(2)
RledG.set_pixel_line_gradient(3, 13, green, blue)
RledG.show()
#RledG.set_pixel_line(14, 16, red)
#RledG.set_pixel(20, (255, 255, 255))
while True:
led.value(1)
time.sleep(2)
led.value(0)
time.sleep(2)
print("Hello, Pi Pico!")