On Tuesday 23 Sep 2003 12:45 pm, you wrote: > Ian Bell wrote: > > In this case I would recommend the interrupt routine only does: > > [a couple of things...] > > All the other work, with the possible exception of the serial TX, should > > be done in the background. > > Hm, and I thought the ISR actualy *is* the "background". > Depenting on your point of view, the background could be either > I guess. The majority of post here tend to call the ISR "background", > if I'm not wrong. > > I just tries to call them "main" vs. "ISR"... > > Jan-Erik. > This still confuses me after more than 20 years in this field. I think of it this way. In an event driven system, the event being processed is the foreground routine. Whatever runs when there are no foreground routines to run is the background. This is of course just my personal view which may be totaly wrong. Ian -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu