I'm no expert, but you've created aCCP1_INT interrupt, then done this...
Code:@ INT_ENABLE INT_INT ; enable external (INT) interrupts
to my way of thinking (possibly wrong!) it should be this...
Code:@ INT_ENABLE CCP1_INT ; enable CCP1 interrupt
(that's assuming you want to interrupt on CCP1 & not the INT pin?)
Bookmarks