Chapter 5 Analog Modules  | SMART I/O User’s Manual  | |||
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
5.1.8.8 SMDAD1SetLed
Syntax
error_code SMDAD1SetLed(u_int8 PortNr, u_int8 LedNr);
Description
This function switches on one of the two LEDs fitted to the 
Input
u_int8 PortNr u_int8 LedNr
Output
error_code
Example
SUCCESS  | if module was not initialized  | 
E_SEEK  | |
if the module is unknown  | 
or standard 
5
RetVal = SMDAD1SetLed(0, 2);
  | 
  | 
  | 
  | 
March 12, 1996  | ©1996 PEP Modular Computers GmbH  | Page 5 - 23  | |
  | 
  | ||