# Cambiamos de colores el led.
from neopixel import NeoPixel
from machine import Pin
from time import sleep
# Crear objetos
pixels= NeoPixel(Pin(13), 16)
while True:
#Color verde
pixels.fill((0,255,0))
pixels.write()
sleep(0.5)
#Color rojo
pixels.fill((255,0,0))
pixels.write()
sleep(0.5)
#Color azul
pixels.fill((0,0,255))
pixels.write()
sleep(0.5)
#Color rosado
pixels.fill((255,0,255))
pixels.write()
sleep(0.5)
#Color cian
pixels.fill((0,255,255))
pixels.write()
sleep(0.5)