You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issue description: After initializing Timer1 as follows ...
... I observe that the first interrupt fires immediately, while I expected it to occure after 3 seconds.
After a glance into the library code, it seems that the overflow flag (TOV1) isn't cleared as explained here: https://arduino.stackexchange.com/questions/47265/timer1-firing-immediately
board: Arduino UNO
Complement: I even observe sometimes that several (one or two) spurious interrupts occurs just after initialization of Timer1, afterwhat following interrupts are properly spaced by 3 second intervals.
The text was updated successfully, but these errors were encountered:
issue description: After initializing Timer1 as follows ...
... I observe that the first interrupt fires immediately, while I expected it to occure after 3 seconds.
After a glance into the library code, it seems that the overflow flag (TOV1) isn't cleared as explained here:
https://arduino.stackexchange.com/questions/47265/timer1-firing-immediately
board: Arduino UNO
Complement: I even observe sometimes that several (one or two) spurious interrupts occurs just after initialization of Timer1, afterwhat following interrupts are properly spaced by 3 second intervals.
The text was updated successfully, but these errors were encountered: