.running R/O Property

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).

A warning note icon.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.


.running R/O Property

Details