-->
Page 1 of 1

fastled/ws2812 webserver restarts?

PostPosted: Sun Apr 03, 2016 3:06 pm
by ebes
Hey all!
I recently discovered this git project: https://github.com/jasoncoon/esp8266-fastled-webserver

It works great for like 20-30 minutes until it seems to "restart", which means the led colors goes back to stock settings (white color and low brightness). Does anyone know why this might be happening? Im using it on a esp8266 witty cloud device, altho I have a nodemcu v3, and some wemos d1 mini incoming soon too. Or is it just a dead end using this as a 24/7 setup for a few hours a day lights-on-usage? Unfortunately I'm unfamiliar with troubleshooting this by myself.

Thanks in advance!

Re: fastled/ws2812 webserver restarts?

PostPosted: Sun Apr 03, 2016 11:40 pm
by bbx10node
If FastLED disables interrupts to drive the LEDs, it will have crashing problems.

Use NeoPixelBus in DMA or UART mode because these modes do not disable interrupts. NeoPixelBus can be installed using the IDE library manager.

Re: fastled/ws2812 webserver restarts?

PostPosted: Mon Apr 04, 2016 2:33 am
by ebes
bbx10node wrote:If FastLED disables interrupts to drive the LEDs, it will have crashing problems.

Use NeoPixelBus in DMA or UART mode because these modes do not disable interrupts. NeoPixelBus can be installed using the IDE library manager.


Thanks for that info! This is unfourtantly out of my knowledge scope (converting it to another led library and keep functionality) but I will try to look around!