I am unable to get the RTC working on my IND.IO device. I have looked at all of the forum articles including the blog, installed the coin battery, but the clock does not increment.
I just ordered 10 of these from Mouser and I got the CR1220 batteries for them all. My project requires an rtc for scheduling.
So I opened another Ind.Io and the clock on that one seems to be working. How can I get the one that is not working replaced?
I don't know if this is the source of your problems, but the MCP7940 library for the RTC has 4 bugs;
Setting the second can corrupt the RTC.
Setting the month can corrupt the RTC.
It won’t allow the date to be set on the 31st of the month.
It will allow an invalid day of the week value of 0.
Once the RTC is corrupted, it’s behaviour can become very strange.
It is possible to stop and start the clock from code and it is possible for the bug relating to setting the seconds to stop the clock.
As the MCP7940 library is not being maintained, I wrote a new library from scratch for my Industruino projects.
If you use my code and call setSecond() it should start the clock.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!