import time import random from neopixel import NeoPixel from machine import Pin pixel_pin = Pin(0, Pin.OUT) num_pixels = 1 pixels = NeoPixel(pixel_pin, num_pixels) button_pin = Pin(1, Pin.IN)