Rev Author Line No. Line
218 kaklik 1 #include "C:\RS\projekty\rotacni_display\SW\abcda\ukazka2.h"
2 #int_RDA
3 void RDA_isr(void)
4 {
5  
6 }
7  
8  
9  
10 void main()
11 {
12  
13 setup_adc_ports(NO_ANALOGS);
14 setup_adc(ADC_OFF);
15 setup_spi(SPI_SS_DISABLED);
16 setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
17 setup_timer_1(T1_DISABLED);
18 setup_timer_2(T2_DISABLED,0,1);
19 setup_comparator(NC_NC_NC_NC);
20 setup_vref(FALSE);
21 enable_interrupts(INT_RDA);
22 enable_interrupts(GLOBAL);
23  
24 // TODO: USER CODE!!
25  
26 }