SMART I/O User's Manual
2.6.10 SMLed
Syntax
error_code SMLed(u_int8 led, u_int8 value);
Description
This function switches on / off user LED's.
Input
u_int8 led
u_int8 value
Output
error_code
Example
RetVal = SMLed(USERL1, 0);
Page 2 - 28
Two options are available. They are:
USERL1
USERL2
if the LED is not jumpered as 68302 HALT.
Indicates the status of the LED.
0
Not 0
SUCCESS
E_BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
Chapter 2 SMART-BASE
Yellow LED on piggyback
Red LED on piggyback (only
Switch LED off
Switch LED on
LED does not exist
March 12, 1996
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?