Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ESP32, FastLED, and delay() #783
I've debugged a serious problem with an ESP32 issue that comes down to the fact that FastLED replaces the delay() function with it's own non-multitasking-friendly version of a busy wait.
Is there any particular reason that FastLED needs to do this? I have many tasks running and need to yield CPU time in my loop, but FastLED obscures the delay() function needed to do this. Before I change it, I hope to understand why this FastLED behavior persists on FreeRTOS on the ESP32, and if its OK to change it?
Two other ideas for you to try: