SMART I/O User's Manual
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 SM-ADC1.
Input
u_int8 PortNr
u_int8 LedNr
Output
error_code
Example
RetVal = SMADC1SetLed(0, 2);
Page 5 - 98
SM-Port number to be accessed
Number of the LED to switch on (1-2)
SUCCESS
E_SEEK
E-BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
Chapter 5 Analog Modules
if module was not initialised
if the module is unknown
October 01, 1996
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?