Hi,
Set the dutycycle to 0 instead of stopping the PWM timer.
If you stop the PWM timer the output pin will "get stuck" in the state it is in at the very moment you stop the timer.
/Henrik.
Hi,
Set the dutycycle to 0 instead of stopping the PWM timer.
If you stop the PWM timer the output pin will "get stuck" in the state it is in at the very moment you stop the timer.
/Henrik.
Bookmarks