Makuna / Rtc

Arduino Library for RTCs, Ds1302, Ds1307, Ds3231, Ds3232, Ds3234 and Pcf8563/BM8563 with deep support. Please refer to the Wiki for more details. Please use the Github Discussions to ask questions as the GitHub Issues feature is used for bug tracking.
GNU Lesser General Public License v3.0
368 stars 126 forks source link

Time on Ds3231 gets wrong after some time. #119

Closed Bredahl closed 4 years ago

Bredahl commented 4 years ago

I run this piece of code where I set the time on a ds3231 module to the client time and then read the ds3231 module time to check that the time is set. It runs flawlessly with an older version of the AsyncTCP library, but when I run it under the latest version of the AsyncTCP library, the time on the Ds3231 module goes completely wrong after a short time. Does anyone have an idea why this is happening. ds3231.txt

Makuna commented 4 years ago

This area is not for asking questions is for tracking bugs that need to be fixed. It is not a forum.

I am closing this as it is a question and the templates for bug report were not followed.

I suggest that you jump on gitter and ask questions there.

Bredahl commented 4 years ago

Ok, I'm really sorry for taking your time. I'm new to this. I will then just continue to use the old AsynTCP library.

Makuna commented 4 years ago

Its the wrong way to do it. jump on Gitter (message support system), the channel is listed in readme and wiki. You will get more than just me on it to provide help.

Bredahl commented 4 years ago

I have solved my problem with the AsyncTCP library with the code in the attachment. ds3231 Fixed.txt