Hi,
I cannot set the RTC of the Data logger to a new date and time. It keeps returning me the one by default.
Things I noticed:
-When I remove the battery and USB for 10 seconds, it seems that the RTC is NEVER halted, because when I run the program again, I never meet the condition "if (! RTC.isrunning())"
-If I try to force the date reset with RTC.adjust(DateTime(__DATE__, __TIME__)); in the setup, it doesn't change anything, I am getting the same result.
I looked at my solder and it seems alright but I would tend to believe it's a hardware problem.
Any suggestions?
Thanks in advance!
RTC issue with Data Logger shield
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88088
- Joined: Sat Feb 07, 2009 10:11 am
Re: RTC issue with Data Logger shield
What is the default time it returns?I cannot set the RTC of the Data logger to a new date and time. It keeps returning me the one by default.
Does the time advance from that point?
Can you post the code you are using?
-
- Posts: 3
- Joined: Sun Feb 12, 2012 1:50 am
Re: RTC issue with Data Logger shield
Okay so I don't know what I did, the code was and is the same as your RTC sample code but now it works fine.
Disregard my request and thank you for your great documentation.
Disregard my request and thank you for your great documentation.
Please be positive and constructive with your questions and comments.