Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2 kaklik 1
#include "D:\KAKLIK\roboti\sumo\2006\main.h"
2
 
3
 
4
void main()
5
{
6
 
7
   setup_adc_ports(NO_ANALOGS|VSS_VDD);
8
   setup_adc(ADC_OFF);
9
   setup_spi(FALSE);
10
   setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
11
   setup_timer_1(T1_INTERNAL|T1_DIV_BY_1);
12
   setup_timer_2(T2_DISABLED,0,1);
13
   setup_comparator(A3_A2_A1_A2);
14
   setup_vref(FALSE);
15
   setup_oscillator(OSC_8MHZ|OSC_INTRC);
16
 
17
}