So I pulled the battery for about five minutes ran the code again the time is now reading the same time as my computer that it was loaded from I let it run for about a half hour then I unplugged the power with the battery still in waited two minutes then plugged the power back in it is now holding the time when the power is removed so it looks like it is working properly I will keep an eye out for any weird stuff if I see anything then I will contact support about a return. I do disagree with you about the product page "....." as I have seen on other post to the forum that other people have the same question about 12hr time! not saying you guys have to post that info but I would not have purchased this particular product. I would have gone with the ChronoDot in the first place! The problem is not the second or two a month it is the fact that it does not keep 12hr time in the lib, I dont know if you guys or some one else wrote the lib but you guys do know that the lib doesn't allow this chip to use the 12hr and you have already been asked the question from other users I think it just would be nice to have known that before I purchased it and waited ten days now I will have to wait another ten days to get the one I would like to have had in the first place. don't get me wrong I'm just trying to point out that it would have been helpful information! So my question is do you know of code to get the 12hr I am new to this stuff, and it would greatly help me be able to get a starter or even a hole working code and if it has the am/pm then that would be even better!
I do thank you for your help!
The limitations of the DS1307 are "clearly stated in the product description" : http://adafruit.com/products/264
The DS1307 is simple and inexpensive but not a high precision device. It may lose or gain up to 2 seconds a day. For a high-precision, temperature compensated alternative, please check out the ChronoDot.
If yours is drifting at the rate you report, there is clearly something wrong with it. Please contact firstname.lastname@example.org
with a link to this thread for a replacement.[/quote]