Joke Collection Website - Cold jokes - When DS1302 is powered off and unable to move, it will return to its initial value. Can any expert please help modify the program? Thank you.

When DS1302 is powered off and unable to move, it will return to its initial value. Can any expert please help modify the program? Thank you.

First of all, make sure you have a backup power supply? Without this problem it would be a joke. How to go without power?

If there is a backup battery, as long as you keep the time normally just before the power is cut off, the clock chip will also update the time normally after the power is cut off. Generally has nothing to do with the program. Check for hardware failure. If it doesn’t answer, get the details!