.Running R/O Property

Top  Previous  Next

 

Function:

Returns current RTC state.

Type:

Enum (no_yes, byte)

Value Range:

0- NO: RTC is not running.

1- YES: RTC is running.

See Also:

RTC Object

 


Details

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

 

note_warning-wt

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.