-
Notifications
You must be signed in to change notification settings - Fork 1.3k
pewpew10 - use _pew.get_ticks() for time tracking #4980
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
Conversation
Somehow PR adafruit#4200 got reverted, repeating it, with a proper tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the regression! Submodules are a bit tricky.
It's my fault for failing to tag it correctly. By the way, this interrupt disabling in the time functions may still be affecting other modules, like pulseio, pwmio, or audioio, so maybe it would be good to revisit it when there is some time. |
Could you elaborate on this? I am thinking there might be issues about this elsewhere as well. What did you fix in your own code? Thanks. |
I basically count the frames in |
Are you saying the interrupt disabling in |
What's the difference between a lost timer tick and a delayed one? |
If the tick incrementer loses ticks, then the |
Oh, so you would get clumps of ticks, but on average the number of ticks would be correct? Considering that the brightness of the LEDs is affected (see the horizontal lines on the last video), I would say they are getting lost, but I can't be certain if the background flicker that is also present is not due to them also being delayed/clumped. |
I made some signal captures on the original issue #3504 — maybe that will be helpful. |
Somehow PR #4200 got
reverted, repeating it, with a proper tag.