ezeio2:expref:uptime

This is an old revision of the document!


Return number of seconds since last reset.

Description

Uptime()

This function returns the number of seconds since last reset.

Parameters

none

Return value

Returns the number of seconds since the 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

Example usage

Uptime()

  • ezeio2/expref/uptime.1560558273.txt.gz
  • Last modified: 2019-06-15 00:24
  • by andreh