Getting the internal RTC to work on Photon

@bing1106, when the device connects successfully, it updates the time: https://github.com/spark/firmware/blob/develop/system/src/system_cloud.cpp#L475

The RTC should continue running from then on with the :cloud: synced time.

There’s an issue with the current firmware that will prevent you from doing tests unless you compile locally: https://github.com/spark/firmware/issues/440

1 Like