Sorry to bother you. I wrote a clock program thinking that the clock in the UNO would be enough to keep the clock on time. I was wrong. My question is when I write in the program for the DS1307 does it just go in with the clock program or is there a set of rules I need to follow? I could not find any information on this. Thank you. John
have a look at the examples in the RTC library folder. The virtually do it all for you.
is there a set of rules I need to follow?
Yes, and you clearly didn't. The first one was to read the sickies at the top of the forum BEFORE posting here. If you had, you'd have posted your code (correctly).