Make it shine
MicroPython
from neopixel import NeoPixel
from machine import Pin
pixel = NeoPixel(Pin(16), 25)
for p in range(25):
pixel[p] = (0 + p, 10, 25 - p)
pixel.write()
print("Shine bright like a diamond!")Basics of MicroPython
from neopixel import NeoPixel
from machine import Pin
pixel = NeoPixel(Pin(16), 25)
for p in range(25):
pixel[p] = (0 + p, 10, 25 - p)
pixel.write()
print("Shine bright like a diamond!")MicroPython