This code Demonstrates how to setup the high and low priority interrupt with external inputs via buttons with the XC8 compiler with MPLAB X and a PIC18F4520.
☕Coffee Funds☕.
Shekels: https://www.paypal.me/bindertronics9/5
Patreon: https://www.patreon.com/BinderTronics
Bitcoin: 19nohZzWXxVuZ9tZvw8Pvhajt5khG5mspW
Ethereum: 0x5fe29789CDaE8c73C9791bEe36c7ad5db8511D39