Hi All,
I'm using PBP and 16F887 MCU.
I'm employing PortB pin 2 & 3 for interrupts and it works great. I have two push buttons, one for each pin. What I want to happen is when I push the first button, pin 2, a variable increases by one and when pushing the second button, pin 3, it decrements by one. As stated, the interrupt piece works as expected and I have no issue with writing the code inside the handler, I just don't know how the mechanics work for directing either interrupt to the correct handler. Right now they both share the same handler.
Lots of information available for designing the interrupt but I can't find anything relating to my problem. Any assistance would be appreciated.
Bookmarks