Search found 2 matches

by blengerich
Mon Feb 27, 2023 4:57 pm
Forum: General Discussion
Topic: Disable Timer within Timer ISR
Replies: 0
Views: 664

Disable Timer within Timer ISR

Is it possible to disable a timer within the timer ISR itself? The example code below works for Arduino Uno and Mega, but not for ESP32. The timer interrupt continues to occur, even after disabling it. The disable command doesn't seem to register within the ISR. To get this to work for ESP32, I set ...
by blengerich
Sat Feb 25, 2023 10:06 pm
Forum: Hardware
Topic: Disable Timer within Timer ISR
Replies: 0
Views: 1471

Disable Timer within Timer ISR

Is it possible to disable a timer within the timer ISR itself? I want to disable the timer interrupt when a certain condition is met, which can be determined within the timer ISR itself. I wrote an example program which works for Arduino Uno and Mega, but not for ESP32. In the code below, the timer ...