The problem I have is I can not stop Timer1 because that is where the PWM burst happens.
If I stop this timer I have no way to wake it up so I can not go in sleep mode.
I can only get the LEDs off based on a counter and I guess compare it with its own value from the previous loop.
What I can't figure out is, how many loops I get in one minute? and how much can I count with a word variable?
Perhaps I need to use nested counters? or is there a better way?
Bookmarks