System functions
Set_LED
ADwin
54
ADwin-Gold II
, Manual February 2013
Set_LED
Set_LED
switches the LED (besides the power switch) on or off.
Syntax
#INCLUDE
ADwinGoldII.inc / GoldIITiCo.inc
Set_LED
(
value
)
Parameters
Notes
The LED is normally switched on and off by process 15. To use
Set_
LED
the process should therefore be stopped.
See also
- / -
Valid for
Gold II
Example
Rem Select the appropriate include file for ADbasic / TiCoBasic
#INCLUDE
ADwinGoldII.inc / GoldIITiCo.inc
Init:
Stop_Process
(
15
)
Set_LED
(
1
)
'set green LED
Event:
Rem …
Finish:
Set_LED
(
0
)
'switch off LED
Start_Process
(
15
)
T11 TiCo
value
Status of the LED.
0: off.
1: on, green light.
2: ein, red light.
LONG