import board import neopixel pixels = neopixel.NeoPixel(board.D18, 24) def ledOff(): pixels.fill((0,0,0)) def ledOn(): pixels.fill((50,50,50))