cbm80amiga / ST7789_Watch_2bit

Analog Watch/Clock with Arduino and and ST7789 IPS
GNU Lesser General Public License v3.0
9 stars 9 forks source link

DS3231- Problem with stored Time #1

Open Tsoupakas opened 2 years ago

Tsoupakas commented 2 years ago

Hi cbm80amiga , The watch working very good however when i disconnect the usb cable ,leave it without power lets say for 10 mins and turn it back on, time is starting from last compile/upload time. Could you please advise how can fix this issue? ps: I use the Adafruit DS3231 Precision RTC

cbm80amiga commented 2 years ago

It seems that 3V battery in your RTC module died, try to replace it and check again.

Tsoupakas commented 2 years ago

It seems that 3V battery in your RTC module died, try to replace it and check again.

I checked the whole circuit with the RTClib.It works fine.I mean when i disconnect the power supply and connect it after some time,the time is saved in ds3221 memory and running with the help of the battery.

I think you must advise me for a change maybe in your rtc.h code or in main code.which line is related with the 'save of time'?