.running R/O Property
Function: |
Returns current RTC state. |
Type: |
Enum (no_yes, byte) |
Value Range: |
|
See Also: |
Details
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 no power AND no backup power for a period of time), it may not work correctly until you set it using the rtc.setdata method. The rtc.running read-only property cannot be used to reliably check RTC state in this situation.