The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github "issues" just for tracking library bugs / enhancements.
I've run into issues using FastLED math functions (lerp8by8, in this particular case) on an ESP32.
This has happened with other functions (n_scale8-related, i believe) in the past but i refactored to get a similar effect without the FastLED math function.
I am unsure exactly what isn't working, but the ESP hangs up entirely once the function is called. no crash, no reboot, just stops. offending code below:
I've run into issues using FastLED math functions (lerp8by8, in this particular case) on an ESP32.
This has happened with other functions (n_scale8-related, i believe) in the past but i refactored to get a similar effect without the FastLED math function.
I am unsure exactly what isn't working, but the ESP hangs up entirely once the function is called. no crash, no reboot, just stops. offending code below:
Serial.print("before");
lerp8by8(leds[i].r, targetColor.r, fract);
Serial.print("after");
Where both colors are valid CRGB and fract is 10. I get "before", but not "after".
I've narrowed it down to this using serial monitor, if there is something more i can do to help, i'd be happy to.
Thanks in advance!