.Running R/O Property


Returns current RTC state.


Enum (no_yes, byte)

Value Range:

0- NO: RTC is not running.

1- YES: RTC is running.

See Also:

RTC Object


When this property returns 0- NO this typically is the sign of a hardware malfunction (for instance, RTC crystal failure).


When the RTC is powered up after being off (that is, device had not power AND no backup power for a period of time), it may not work correctly until you set it using rtc.set method. Rtc.running cannot be used to reliably check RTC state in this situation.