ezeio2:expref:uptime

Return number of seconds since last reset.

Description

Uptime()

This function returns the number of seconds since last reset.

The cause of a reset may be:

  • Power being removed/restored
  • Software reset due to firmware update
  • Software reset requested by the user
  • Software or hardware error (Watchdog reset)
  • Waking up from sleep mode

Parameters

none

Return value

Returns the number of seconds since the last reset.

Example usage

Uptime()

Will return 86400 after 24 hours running.

  • ezeio2/expref/uptime.txt
  • Last modified: 2019-09-02 18:55
  • by andreh