I had lovely results with a small ring of 12 LEDs, but then of course the program fell apart when I scaled up to lots of pixels - it still works but progression is very very slow - I think I have some ideas on mitigating the issues - but today I have been playing with a new strip of ws2811 and having really poor results doing very simple stuff. I am running this program:
Code: Select all
from machine import Pin
from neopixel import NeoPixel
from time import sleep
pixelcount = 50
np = NeoPixel(Pin(19), pixelcount)
while True:
# Green chaser
for i in range(pixelcount):
for n in range(pixelcount):
np[n] = (0,0,0)
np[i] = (255,0,0)
np.write()
sleep(0.01)
If anyone is interested I can share my palette sketch - it is controlled by MQTT, can covert hex colours, does exponential scaling for smooth changes and almost works really well