ezeio2:scriptref:getsystemitem

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ezeio2:scriptref:getsystemitem [2020-08-18 22:17] andrehezeio2:scriptref:getsystemitem [2025-02-11 23:18] (current) andreh
Line 34: Line 34:
 | ''SYSITEM_SECOND'' | Real time clock, seconds | | ''SYSITEM_SECOND'' | Real time clock, seconds |
 | ''SYSITEM_EPOCH'' | Real time clock, Epoch (number of seconds since 1970-01-01) | | ''SYSITEM_EPOCH'' | Real time clock, Epoch (number of seconds since 1970-01-01) |
-| ''SYSITEM_RND'' | Random number |+| ''SYSITEM_RND'' | Random number. 32 bit signed integer |
 | ''SYSITEM_OUT3RCPWM'' | Output 3 mode (0=0-100%, 1=1-2ms servo) | | ''SYSITEM_OUT3RCPWM'' | Output 3 mode (0=0-100%, 1=1-2ms servo) |
 | ''SYSITEM_RESETCAUSE'' | Cause of last hardware reset, bitmap or RESETCAUSE flags defined below | | ''SYSITEM_RESETCAUSE'' | Cause of last hardware reset, bitmap or RESETCAUSE flags defined below |
 | ''SYSITEM_SCRIPT_RESETCAUSE'' | Cause of last script restart, current script (see below) | | ''SYSITEM_SCRIPT_RESETCAUSE'' | Cause of last script restart, current script (see below) |
 +| ''SYSITEM_HIBERNATE'' | Nonzero if running as part of sleep cycle |
 +| ''SYSITEM_EXPn'' | ezeio-CAN Expander status (0=no comm, 1=comm ok), where n=1 through 7 |
  
 == Flags returned by SYSITEM_RESETCAUSE == == Flags returned by SYSITEM_RESETCAUSE ==
  • ezeio2/scriptref/getsystemitem.1597789024.txt.gz
  • Last modified: 2020-08-18 22:17
  • by andreh