2006/6/30, Phillip wrote: > > I have read the manual and have just read it again. > My code is nearly direct copy of the code in section 2.9.2.3 > > My code taken from the Microchip example on disk says > #pragma code InterruptVectorLow = 0x18 > Where the manual says > #pragma code low_vector = 0x18 > I can't see how that makes any difference > There are no problem with this parts. What I said was this part: > #pragma code > #pragma interrupt InterruptHandlerLow > void InterruptHandlerLow () > { > .... > } > You named it InterruptHandlerLow doesn't mean it's a low priority handler. You have to declare it low with "#pragma interruptlow". However the code posted shown that you declare it as high priority - with "#pragma interrupt". Again, read the manual again! Best regards, -- WH Tan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist