boardSysSwitchSet (Function) |
Top Previous Next |
Set the state of a system switch. The state of the system switch can be queried with the boardSysSwitchGet function.
The state is persistent and will be kept over reset.
Input: id : DINT; The id of the system switch to set.
state : SINT; The state of the system switch.
Returns: BOOL
Declaration: FUNCTION boardSysSwitchSet : INT;
Example: INCLUDE rtcu.inc |