Yeah, I thought of that....haven't really done much with anything other than purely digital I/O stuff....it'll be fun to play with it.

Also thought I could use the internal timers someway...

Reset to zero every time it hits the maximum of 40 seconds and sample the timer in my loop, looking for a small range of values in the register that would denote 5 second increments?

Another possibility?