> >> > given recent advice on the fact that portb interrupt on change > >> > can be unpredicatable > > And the reason I gave that advice is > > 1) AN566 and in my case it didn't help. > > 2) I read the previous threads > in a general case where interrupts are asynchronous and > unpredictable and other PORTB pins are being used, then > IOC is not suitable That's what I remember as the gist of the previous threads, but I couldn't be certain (and James didn't say if anything else was on PortB) , which is why I suggested he look into it. It looks as though you've given James good advice, he'll be OK with INT -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu