Re: Task priority control
Nope, it's just a way of classifying tasks by numeric priorities...
So if the difference is 1 or 200, the higher task will use up all of the CPU time until the task is stopped or until a "wait" statement is used, allowing other lower priority threads to run. The numbers do not correspond to a proportion of priority.
It is critical that you use wait-statements when doing multitasking and your various other tasks do not need every millisecond of processing time (like waiting for a sensor to respond), otherwise the CPU will be hogged by that one task.
ROBOTC Developer - SW Engineertfriez@robotc.net