Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several math functions not working on ESP32 #875

Open
shadowkrazee opened this issue Aug 28, 2019 · 1 comment

Comments

@shadowkrazee
Copy link

commented Aug 28, 2019

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!

@kriegsman

This comment has been minimized.

Copy link
Member

commented Aug 28, 2019

Thanks for the report, I’ll take a look.

@kriegsman kriegsman self-assigned this Aug 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.