These are chat archives for Makuna/NeoPixelBus

8th
Jan 2018
Michael Miller
@Makuna
Jan 08 2018 08:14
Great to hear!
vyruz1986
@vyruz1986
Jan 08 2018 08:48
I'm using this library on an ESP32 project to control WS2811 lights, some time ago I kept having issues with the lights flickering intermittently, but after updating the library 2-3 weeks ago this problem was fixed. It took until last weekend to fully test my project 'in the field' with these changes, and I noticed the ESP now crashes when an interrupt is triggered while the lights are being changed. I still have to simulate the problem at home and capture the stack trace at crash. But I just wanted to check if anyone has experience using this library in conjunction with interrupts on the ESP32
Michael Miller
@Makuna
Jan 08 2018 09:00
On the Esp32 it uses bit bang (software only) to send the data currently. you may want to test if commenting out the show() will still cause a crash as it might be somewhere else.
vyruz1986
@vyruz1986
Jan 08 2018 09:56
I'll try more tonight and report back
vyruz1986
@vyruz1986
Jan 08 2018 22:17
ugh... It was a nasty bug in my code, tried to store a negative value in an unsigned long which was then too big to be used in another function... Sorry for wrongly suspecting your library :)