User variables are not saved and restored for the interrupts. Only PBP's SYSTEM variables are.
But PORTB Change Interrupts (RBC_INT) only work on PORTB.4-7 on the 16F887.
You are testing PORTC pins in the ISR.
User variables are not saved and restored for the interrupts. Only PBP's SYSTEM variables are.
But PORTB Change Interrupts (RBC_INT) only work on PORTB.4-7 on the 16F887.
You are testing PORTC pins in the ISR.
DT
Bookmarks