PIC10F322 XC8 Interrupts – Overview

PIC10F322 XC8 Interrupts – Overview

Here is a quick overview of how to get interrupts going in XC8. You will need to define your interrupt function or handler in your code. void __interrupt () isr_routine (void) { } The name isr_routine can be anything you want, however __interrupt () is very important...