StopMe

Suspend the current task, the task can be restarted with a ResumeTask command. Only valid inside a task.

Syntax: StopMe

Example:

Task test()
  
  If PORTB.0=1 Then
    StopMe
  End If

End Task

Also See: Multitasking