Quote Originally Posted by Acetronics View Post
Hi, Folks

I think something has to be cleared ...

You also can get " interrupt on change " interrupt with Port B.4 to B.7 ... or ' comparator interrupts" from the Comparator inputs ...

so, the 3 buttons can generate their own interrupt ...

Obviously the scheme has to be modified to place the buttons on the right pins ....

Alain
Not only the sheme but also the interrupt source on PBP code. Instead of INT_INT, must put RBC_INT, to make it Interrupt on PortB Change.