/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/test_interrupt/main.c
2,19 → 2,19
 
#include "main.h"
 
#define LED PIN_A5 //CHANGE PIN_XX TO YOUR LED PIN NUMBER, EX: PIN_A5
#define LED PIN_E0 //CHANGE PIN_XX TO YOUR LED PIN NUMBER, EX: PIN_A5
 
#int_RDA
void RDA_isr(void)
{
getc();
printf("&");
printf("!");
}
 
#int_TIMER1
void TIMER1_isr(void)
{
printf("!");
printf("*");
}
 
void main()