That's what I'm wondering.
I'm stoppinng the timer in the main loop and not in the interrupt. When I receive the corresponding command I stop the timer in the main loop. But every time I get a status failure for the stop command. The timer keeps going through the value pattern I set to send till it is finished. I can only stop it inside the interrupt
when it gets a certain conditioon
You mean I could create a global variable and when I receive the stop command I change the flag and every time the interrupt is triggered I check the flag status and stop if the flag is active?
thanks
I'm stoppinng the timer in the main loop and not in the interrupt. When I receive the corresponding command I stop the timer in the main loop. But every time I get a status failure for the stop command. The timer keeps going through the value pattern I set to send till it is finished. I can only stop it inside the interrupt
when it gets a certain conditioon
You mean I could create a global variable and when I receive the stop command I change the flag and every time the interrupt is triggered I check the flag status and stop if the flag is active?
thanks