
Chapter 4 Digital Modules | SMART I/O User’s Manual | |||
|
|
|
|
|
|
|
|
|
|
4.3.8.8 SMREL1SetLed
Syntax
error_code SMREL1SetLed(u_int8 PortNr, u_int8 *buffer);
Description
This function sets the status of the User LED on the port PortNr with the contents of the buffer. If a bit is set to 0 then the LED is OFF otherwise it is ON.
Input
u_int8 PortNr u_int8 *buffer
Output
error_code
Example
SUCCESS
E_BMODE if the module is unknown or standard
4
RetVal = SMREL1SetLed(0, buffer);
|
|
|
|
March 12, 1996 | ©1996 PEP Modular Computers GmbH | Page 4 - 45 | |
|
|