Open RRDajay opened 3 years ago
Can you try detachInterrupt and reenable interrupt in the ISR, and see if that keeps it going?
I have the same Problem. DetachInterrupt and reenable it doesnt work.
Don't use print in ISR. You could increase counters in ISRs and print their values in the loop. Please close this issue as it is invalid.
I have the same issue, I can not run 2 timers at the same time. At my program I start a timer, which runs periodically, the second timer is not running periodically, I change its frequency, and start it again. Somehow my second timer works all the time, but the first timer doe not, I made sure they are using different hardware timers;
Hi, I've modified the example code from the multiple timer folder with my desired interrupt time (1000 microseconds for Timer0 and 5000 microseconds for Timer3). From the arduino serial monitor, It seems that the arduino hangs at 5000us. Does this mean that the arduino does not know what ISR to prioritize? I've attached the code and the output of the arduino serial monitor for visualization.
Am I missing something? Its my first time using the library. Any help would be greatly appreciated. Thank you.