from machine import Pin from neopixel import NeoPixel led = NeoPixel(Pin(18, Pin.OUT), 10) led.fill((255, 0, 0)) led.write()