import time import board import neopixel pixels = neopixel.NeoPixel(board.D18, 24) def ledoff(): pixels.fill((0,0,0)) def ledon(): pixels.fill((255,255,235))