RealTimeClock.SetDateTime() Is Not Working Properly

Using a Cerb40II with latest firmware. I’ve got a 3.3v battery conencted to vbatt pin. I’m setting the clock with the
RealTimeClock.SetDateTime() method and after power cycling, I keep getting 1/1/1980 12:00am when I read the datetime back in with GetDateTime()

Any Ideas? Do I need to go through the Register Class to update the Clock?

See the thread "RealTimeClock.SetDateTime strange behavior (G400) " two monthes ago.
Repeating the SetDateTime() solves the issue.

1 Like