Originally posted by Dwayne
Just a quick glance through your code.. and I notice one thing....
Your disable is BEFORE your interupt label. It should be just after the interupt label..
NOP, you must disable before the label an ENABLE after RESUME. it's in the PBP manual 
capitano
looks wierd... at this point i've never use CCP module and manage many interrupt together... interesting thread. I'll try something and let you know. BTW, i'm sure there's also somebody here who'll see the problem quick.
The PIC is 16F8777 at 20 Mhz
can we assume it's a 16F877 or a really brand new demo unknow at this point ;-)
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks