Chapter 4 Digital Modules
4.3.8.8 SMREL1SetLed
Syntax
error_code SMREL1SetLed(u_int8 PortNr,
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
RetVal = SMREL1SetLed(0, buffer);
March 12, 1996
u_int8 *buffer);
SM-Port number to write data
Pointer to buffer where data is stored
SUCCESS
E_BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
SMART I/O User's Manual
if the module is unknown
4
Page 4 - 45
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?