SPC  Version 0.9.5
 All Files Functions Groups Pages
ex_Stop.spc

This is an example of how to use the Stop function.

task main()
{
int x;
while (true)
{
x = Timer0;
Stop(x == 24); // stop the program if x==24
}
}