Frequencies are half of what I expect #22
-
I've tried this on both a MEGA2560 and an Uno and I get the same results. It seems that whatever frequency I set (4500Hz for example, I get around 2250Hz). I am using timer 1 and setting the frequency on the fly. Is there something I am missing? I can provide more detail if needed. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Thanks for your interest and bug report. I'm able to duplicate the issue, which happens to high frequencies above around 250Hz. The bug has been found and fixed. The new release will be published soon, certainly with a note for your contribution. Regards, |
Beta Was this translation helpful? Give feedback.
-
The TimerInterrupt releases v1.6.0 has just been published. Your contribution has been noted in Contributions and Thanks Also check and verify the new example Change_Interval_HF written for high frequencies' Timer Interrupt Releases v1.6.0
|
Beta Was this translation helpful? Give feedback.
-
Awesome, Thanks! Glad to know it wasn't me haha. Goes to show you if something seems wrong that it probably is lol. I sat on this for quite a while. I debated digging into to this myself to see if it was me or not, but i figured I would ask the question first because I figured you would be able to find the issue much faster. Thanks again! |
Beta Was this translation helpful? Give feedback.
The TimerInterrupt releases v1.6.0 has just been published.
Your contribution has been noted in Contributions and Thanks
Also check and verify the new example Change_Interval_HF written for high frequencies' Timer Interrupt
Releases v1.6.0