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

LEDs intermittingly not updating properly. #14

Open
gootzte opened this issue Mar 3, 2023 · 1 comment
Open

LEDs intermittingly not updating properly. #14

gootzte opened this issue Mar 3, 2023 · 1 comment
Labels

Comments

@gootzte
Copy link

gootzte commented Mar 3, 2023

The use of Ticker for calling the handleInput() is causing intermitting updating issues with FastLED. I believe it may be related to the interrupts. I have tried using the flag so called flag FASTLED_ALLOW_INTERRUPTS with no success. After I removed the use of m_inputTicker and placed the handleInput() in the handler() function the updating issues vanished.

@srwi
Copy link
Owner

srwi commented Mar 7, 2023

Thanks again for opening a bug report. Would it be possible for you to provide a minimal reproducible example of the issue along with the information about the device you are using? The suggested solution to the problem might lead to missed button presses in case the loop method of the active animation takes a relatively long amount of time so we would have to find another reliable solution for the problem.

I'll see when I get the time to dig into it. In the meantime, please let me know if anything comes to your mind!

@srwi srwi added the bug label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants