#include <xc.h> #include <stdint.h> #include <stdbool.h> #include <avr/io.h> #include <avr/interrupt.h>