On Mar 18, 2006, at 6:52 PM, OWEN-A wrote:
I need to generate delays of up to 24 hours on a Mega16 has anyone any suggestions, I could use an RTC but there may be another option as strict timekeeping is not necessary for this application.
Why not just extend one of the timers with your own variable? For instance, if you have a 10 Hz interrupt from an 8-bit timer, you can increment a 24-bit variable from its overflow and get a 32-bit timer (the low byte is the timer register, the upper 3 are your variable).