Hi all,
I am trying to have a real time clock on a web page but without using a DS1307 RTC. I want to use the Time library from Arduino. Do you have any ideas on how I can do that?
Many Thanks!!!
Hi all,
I am trying to have a real time clock on a web page but without using a DS1307 RTC. I want to use the Time library from Arduino. Do you have any ideas on how I can do that?
Many Thanks!!!
Sure, set the time via NTP. See the example sketch, "UdpNtpClient" that comes with the Ethernet library, or the "TimeNTP" example that comes with the Time library.
The time library keeps time. You just need to provide it a tme from some source. There are many examples of different sources.