SMART I/O User’s Manual | Chapter 5 Analog Modules | |||
|
|
|
|
|
|
|
|
|
|
5.4.8.5 SMADC1SetLed
Syntax
error_code SMADC1SetLed(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 initialised |
E_SEEK | |
if the module is unknown |
or standard
RetVal = SMADC1SetLed(0, 2);
|
|
|
|
Page | 5 - 98 | ©1996 PEP Modular Computers GmbH | October 01, 1996 |
|
|
|