2025-07-03 22:00:10 -05:00

27 lines
571 B
Python

import machine, neopixel, time
# defines `np`, pin the led is on = 16, number of leds = 1
np = neopixel.NeoPixel(machine.Pin(16), 1)
# comment so i can test commit auth
diddlydoobalooby = 1
while diddlydoobalooby > 0:
np[0] = (75, 0, 0)
np.write()
time.sleep(0.75)
np[0] = (0, 0, 0)
np.write()
time.sleep(0.75)
np[0] = (0, 75, 0)
np.write()
time.sleep(0.75)
np[0] = (0, 0, 0)
np.write()
time.sleep(0.75)
np[0] = (0, 0, 75)
np.write()
time.sleep(0.75)
np[0] = (0, 0, 0)
np.write()
time.sleep(0.75)