Here is example how to use 1 int to serve button on any input pin of PIC.
One button also can be attached to INTX pin.
In your ISR just look which pin is 0, then do whatever you want.
If all pin is 1, then button on INTX is pressed...
Here is example how to use 1 int to serve button on any input pin of PIC.
One button also can be attached to INTX pin.
In your ISR just look which pin is 0, then do whatever you want.
If all pin is 1, then button on INTX is pressed...
Bookmarks