
Originally Posted by
Charles Linquis
I wrote a routine that 'calls' a timeserver on port 123 (UDP protocol). It uses a Lantronix XPort as the network interface.
The routine calculates current time based on NET TIME (number of seconds elapsed since 00:00:00,Jan 1, 1900). It allows input of time zone and DST flag. It doesn't automatically calculate when DST begins/ends, but it does take DST into account. Leap years, too.
It shows the current time and then writes the values into a DS1307.
If someone is interested, I'll post.
Hi, i'm interested in your project. Can you post the code, please?
Thanks
Thanks and Regards;
Gadelhas
Bookmarks