ezeio2:expref:uptime

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ezeio2:expref:uptime [2019-06-15 00:24] – created andrehezeio2:expref:uptime [2019-09-02 18:55] (current) andreh
Line 1: Line 1:
 +===== Uptime ======
 +
 ==== Uptime() ==== ==== Uptime() ====
  
Line 8: Line 10:
  
 This function returns the number of seconds since last reset. 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 === === Parameters ===
Line 16: Line 25:
  
 Returns the number of seconds since the last reset. 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 === === Example usage ===
  
-''Uptime()''+<code>Uptime()</code> 
 + 
 +Will return 86400 after 24 hours running. 
  • ezeio2/expref/uptime.1560558273.txt.gz
  • Last modified: 2019-06-15 00:24
  • by andreh