Dennis Plunkett wrote: >Is this scheduler for that project I seen a few days ago where it is >required to read a serial port and then clock stuff out a sync serial port, >read a few keys and that? Nope - that was me (Dwayne). Project is mostly finished (got another project that has to go out first) and I'll be posting the code for it once I have it working. Just a refresher - what I needed to do was: receive serial input at 9600 baud, transmit an ack (9600), talk to some shift registers, generate a medium speed PWM (~1000 Hz), and misc other stuff (read a/d, etc). Its implemented as a loop that executes in 104 cycles (samples RX 3 times within the loop) and uses a mickey mouse task switcher to fit the housekeeping stuff in the free time slots (2 slots of 22 cyles in each pass of the loop). Its not very pretty and I'm sure that I'll get lots of comments to that effect when I do post it. But thats how I learn! dwayne Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 15 years of Engineering Innovation (1984 - 1999) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Do NOT send unsolicited commercial email to this email address. My posting messages to Usenet neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email.