SPC  Version 0.9.5
 All Files Functions Groups Pages
ex_abort.spc

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

task main()
{
while(true)
{
if (ADChannel0 > 500)
abort(); // stop the program
}
}