I already have one timer setup that interrupts each second. A counter is incremented and at the end of the max count, the LCD is turned off. So I already know how to use a counter in my interrupt routine to increase the resolution of the timer.
Now I want another timer to time out at the end of 10 minutes to several hours. I can just extend what I have done so far but how efficient is that when it comes to using sleep? Does the PIC have to "wake up" to incrment the counter? If so, is there a more efficient to generate an interrupt at the end of my long time period?
Now I want another timer to time out at the end of 10 minutes to several hours. I can just extend what I have done so far but how efficient is that when it comes to using sleep? Does the PIC have to "wake up" to incrment the counter? If so, is there a more efficient to generate an interrupt at the end of my long time period?