Finally...

"How to actually do it though is totally greek to me."

It's Athen's Olympics time... and we do need to go Greek...

see Olympic Timer in the Code examples section...

http://www.picbasic.co.uk/forum/show...=&threadid=632

Re Multi-tasking.

Usually you need multiple or parallel processors to do multitasking. Most computers give the illusion of multitasking through a process of time-slicing - ie devoting a portion of the overall CPU time to a given job, then switching to another task. If done fast enough then you have your multi-tasking illusion (typical example is Microsoft Windows).

Actually PICs do genuinely multitask quite well. They're able to sample an ADC channel, perform multiple Timer functions, execute PWM trains, catch data in the USART and perform Analogue Comparisons all genuinely simultaneously whilst your program is doing something completely different. It's called using the features provided within your PIC and the secrets of exploiting these multitasking features are... in the Datasheet.

Melanie