no book tips, but... what generally is called "multitasking" doesn't exactly happen on a pic due to the stack restrictions, that's why most books on the subject won't help much. multitasking on a pic is normally implemented as some kind of a state machine (so look for something on this, but it really isn't that complicated in principle), with the states possibly influenced by interrupts (but which would only be recognized when the state scheduler gets control), and with possibly some action going on in interrupts. the rest is creativity and understanding of the architecture with its features/limitations... :) ge At 19:13 05/12/99 -0700, Brian Kraut wrote: >Can you recommend any good advanced books? I have read all of the app notes >and >the intermediate books. Unfortunately, all I could find is one app note on >multitasking that I am having a hard time adapting without help. > >Chris Eddy wrote: > >> Brian >> >> We're all to damn busy! No slight intended, but consultants currently have >> a vicious backlog of work, and people lining up behind them. This market is >> unprecedented. And we're making 50 to 90 per hour. My biggest challenge is >> never getting sick. >> >> Whining aside, you should start with some good advaced embedded books (I >> didn't, but it sounds like good advice), or study some of the example app >> notes from Microchip, and others. It is almost as good as looking over the >> authors' shoulder. >> >> Chris Eddy, PE >> Pioneer Microsystems, Inc. >> >> Brian Kraut wrote: >> >> > Surprisingly, I didn't get any offers the last time I posted this, so >> > here is another shot. >> > >> > I am looking for a consultant to hold my hand through a few programs >> > that need to handle more tasks at one time than I am skilled enough to >> > program myself. I also want someone I can call for help with various >> > other programming problems from time to time. I am willing to pay for