Rev Author Line No. Line
3665 jacho 1 #include "C:\Users\Honza\Documents\pic\I2C_gyrsokop\main.h"
2  
3  
4  
5  
6 void main()
7 {
8  
9 setup_adc_ports(NO_ANALOGS|VSS_VDD);
10 setup_adc(ADC_CLOCK_DIV_2);
11 setup_spi(SPI_SS_DISABLED);
12 setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
13 setup_timer_1(T1_DISABLED);
14 setup_timer_2(T2_DISABLED,0,1);
15 setup_ccp1(CCP_OFF);
16 setup_comparator(NC_NC_NC_NC);// This device COMP currently not supported by the PICWizard
17  
18 //TODO: User Code
19  
20 }