/Modules/Sensors/IMU01A/SW/PIC16F887/Gyroskop/main.bak
0,0 → 1,20
#include "C:\Users\Honza\Documents\pic\I2C_gyrsokop\main.h"
 
 
 
 
void main()
{
 
setup_adc_ports(NO_ANALOGS|VSS_VDD);
setup_adc(ADC_CLOCK_DIV_2);
setup_spi(SPI_SS_DISABLED);
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
setup_timer_1(T1_DISABLED);
setup_timer_2(T2_DISABLED,0,1);
setup_ccp1(CCP_OFF);
setup_comparator(NC_NC_NC_NC);// This device COMP currently not supported by the PICWizard
 
//TODO: User Code
 
}