Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
660 kaklik 1
#include "main.h"
2
 
3
#Define TRIM1  0
4
 
5
#Define SERVO1 PIN_B4
6
 
7
void main()
8
{
9
 
10
   setup_adc_ports(sAN0|sAN1|VSS_VDD);
11
   setup_adc(ADC_CLOCK_INTERNAL);
12
   setup_spi(SPI_SS_DISABLED);
13
   setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
14
   setup_timer_1(T1_DISABLED);
15
   setup_timer_2(T2_DISABLED,0,1);
16
   setup_comparator(NC_NC_NC_NC);
17
   setup_vref(FALSE);
18
 
19
 
20
 
21
}