
Originally Posted by
Melanie
A PIC already multi-tasks...
That's because it's got the HARDWARE to do it. However, until we get multi-core PICs, it can only execute one software instruction at a time. ....
That is what I meant.
For example:
Code:
While PORTB.0 = 0
do a kind of loop here...
wend
While PORTA.0 = 1
do another kind of loop here...
wend
These two while statements can not execute et the same time. This is just an example.
BTW; humans also multi-task albeit most of us do not even realize that we do.
---------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks