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.

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.1560558738.txt.gz
  • Last modified: 2019-06-15 00:32
  • by andreh