I don't know if theis rightCode:INTCON = $88 ' enable interrupts on RB4 through RB7
I don't know if theis rightCode:INTCON = $88 ' enable interrupts on RB4 through RB7
INTCON=$88 looks good to me. You've got the interupts enabled, and Port B change enables also.
Keeping in mind I've not done interupts in PBP (raw assembler yeah) I'd put the button handeling code inside the interupt handler. However, this would be a problem with the BUTTON command as that wants to be inside a loop, so maybe wake up for a while every time you see a keychange.
Maybe this is the my problem and i don't know how to solve.Originally Posted by ErnieM
Bookmarks