Go Down

Topic: Time ! (Read 563 times) previous topic - next topic



I´m using DS1307 RTC, I wanna know, what do I have to do to keep the time and date after I turn off the circuit ?!

I am Learning, please be Patient !


Use a battery in the Vbat pins of the DS1307 RTC... and make sure your code is not going to override the time inside the RTC when you boot up.
This... is a hobby.


Sorry, but I´m using the examples that has the library and it already has a batery , where do I have to verify, if the code canceled the time and date inside the RTC?
I am Learning, please be Patient !


As long as you only write the time/date to the RTC under operator control or some other similar event you should be OK.

How DO you set the time/date?

Rob Gray aka the GRAYnomad www.robgray.com

Go Up