I don’t know how PBP interrupts work, but yes you do have to clear the interrupt flag.
This is in a case where the interrupt could have been triggered by more than one event.Code:if INTCON.1 = 1 then ' check if portb.0 interrupt occurred ‘ do the thing you wanted portb.0 interrupt to make happen INTCON.1 = 0 ' clear portb.0 interrupt flag endif
Bookmarks