52,7 → 52,7 |
unsigned int1 button_press; // semafor pro cteni tlacitek |
|
setup_adc_ports(sAN0|VSS_VREF); |
setup_adc(ADC_CLOCK_DIV_2); |
setup_adc(ADC_CLOCK_DIV_32); |
setup_spi(SPI_SS_DISABLED); |
setup_timer_0(RTCC_EXT_L_TO_H|RTCC_DIV_1); |
setup_timer_1(T1_DISABLED); |
64,6 → 64,8 |
setup_comparator(NC_NC_NC_NC);// This device COMP currently not supported by the PICWizard |
setup_oscillator(OSC_8MHZ); |
|
// enable_interrupts(GLOBAL); |
|
output_high(LED1); |
output_high(LED2); |
output_high(LED3); |
81,6 → 83,7 |
|
lcd_putc("\f"); |
|
//read_adc(ADC_START_ONLY); |
|
while(true) |
{ |