hi,

i want to write the code that supports multitasking.

eg.,

a. i have to read the data from the external hardware through serial port continuously.

b.and i send the commands through serial port to external hardware in uneven intervals.

can anybody please give me suggestions / help to implement multitasking.

any help would be appreciated.

bye