27220 Parallax Inc, 27220 Datasheet - Page 228

BOOK STAMPWORKS

27220

Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet

Specifications of 27220

Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
This simple, yet powerful framework can be applied to virtually any application. In
the Main loop the subroutine called Critical_Task is executed through every
iteration of the loop, with the currently-selected task following.
circumstances the order of execution would be:
Critical_Task
Task0
Critical_Task
Task1
Critical_Task
Task2
Note that all task code is embedded in subroutines. This design allows a task to be
called from any point in the program – even from another task. Note that Task2
has the ability to check for an emergency condition and if that condition exists can
call Special_Task.
The key to using this framework is to break your program into small, lean tasks. By
doing this, your program will have the best responsiveness and the greatest amount
of flexibility.
Special_Task:
RETURN
' special task code
RETURN
Under “normal”

Related parts for 27220