Subversion Repositories svnkaklik

Rev

Blame | Last modification | View Log | Download

#include "D:\KAKLIK\roboti\sumo\2006\main.h"


void main()
{

   setup_adc_ports(NO_ANALOGS|VSS_VDD);
   setup_adc(ADC_OFF);
   setup_spi(FALSE);
   setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
   setup_timer_1(T1_INTERNAL|T1_DIV_BY_1);
   setup_timer_2(T2_DISABLED,0,1);
   setup_comparator(A3_A2_A1_A2);
   setup_vref(FALSE);
   setup_oscillator(OSC_8MHZ|OSC_INTRC);

}