If you really want accurate timekeeping, you can set up an interrupt on zero-crossings of the AC power line.
Or - If you are brave, I can send you a portion of a program I wrote that contacts NTP time servers (requires a Lantronix XPort or similar) and PBPL.
Or - if you are outdoors, you can get time from a GPS module.
Bookmarks