Pause Command

crazynight

Senior Member
Newby question alert!!

I have read the manual and found:
"During a pause the only way to react to inputs is via an interrupt"

Will this apply to multi tasking ie the pause command is activated in start0: will the monitoring of inputs in start1-7: stop
 

hippy

Technical Support
Staff member
No, during the PAUSE in the start0: task, other tasks will be able to sample inputs and react to them.
 

westaust55

Moderator
See PICAXE manual 1 page Section 1 page 62 - the section entitled: Parallel Task Processing
at the bottom of page 63 and over to 64 it states:
The commands are processed in a circular manner, for example with two tasks the first command in task 0 is processed, then the first command in task 1 is
processed, then the second command in task 0 is processed and so on. Therefore he processing core ‘cycles’ between the different tasks. During task ‘dead’
processing time (e.g. during delays such as within a pause command) the core automatically realises that there is no current processing to be carried out within
that task and moves immediately onto the next task
. Therefore the response of another task is not affected by a pause delay.
 
Top