SPC
Version 0.9.5
Main Page
Related Pages
Modules
Files
Examples
All
Files
Functions
Groups
Pages
ex_ledcontrol.spc
This is an example of how to use the
LEDControl
system constant as well as the
Wait
function.
task main()
{
while
(
true
)
{
LEDControl
=
LED_BLUE
;
Wait
(
SEC_1
);
LEDControl
=
LED_RED
;
Wait
(
SEC_1
);
LEDControl
=
LED_BLUE
|
LED_RED
;
Wait
(
SEC_1
);
}
}
Generated by
1.8.2