SPC
Version 0.9.5
Main Page
Related Pages
Modules
Files
Examples
All
Files
Functions
Groups
Pages
t1.spc
This is an example of how to use the
puts
and
Wait
functions.
#pragma autostart
task t1()
{
while
(
true
)
{
puts
(
"1 "
);
Wait
(
MS_500
);
}
}
task t2()
{
while
(
true
)
{
puts
(
"2 "
);
Wait
(
MS_500
);
}
}
task main()
{
start t1;
start t2;
}
Generated by
1.8.2