SPC
Version 0.9.5
Main Page
Related Pages
Modules
Files
Examples
All
Files
Functions
Groups
Pages
ex_Stop.spc
This is an example of how to use the
Stop
function.
task main()
{
int
x;
Timer0
=
SEC_10
;
while
(
true
)
{
x =
Timer0
;
Stop
(x == 24);
// stop the program if x==24
}
}
Generated by
1.8.2