Coming from this question and I just wonder How to calculate maximum time that an Atmega328 timer can give us before trigger an interrupt? I want it to trigger every hour or so in my project but due to the fact that C integer and OCR1A register has some limitation in size it seems far fetch to get an hour from it.
Is it possible to modify my last question code to get some hour delay?
The comment by Jabberwocky translates to this code (based on the other question to which your have posted the link)
This way you just increment a "global" time counter in a "local" interrupt handler.