Rev 2830 Rev 2898
Line 1... Line 1...
1 #CASE // Case sensitive compiler 1 #CASE // Case sensitive compiler
2   2  
3 #include "main.h" 3 #include "main.h"
4   4  
5 #define LED PIN_A5 //CHANGE PIN_XX TO YOUR LED PIN NUMBER, EX: PIN_A5 5 #define LED PIN_E0 //CHANGE PIN_XX TO YOUR LED PIN NUMBER, EX: PIN_A5
6   6  
7 #int_RDA 7 #int_RDA
8 void RDA_isr(void) 8 void RDA_isr(void)
9 { 9 {
10 getc(); 10 getc();
11 printf("&"); 11 printf("!");
12 } 12 }
13   13  
14 #int_TIMER1 14 #int_TIMER1
15 void TIMER1_isr(void) 15 void TIMER1_isr(void)
16 { 16 {
17 printf("!"); 17 printf("*");
18 } 18 }
19   19  
20 void main() 20 void main()
21 { 21 {
22 setup_adc_ports(NO_ANALOGS|VSS_VDD); 22 setup_adc_ports(NO_ANALOGS|VSS_VDD);