Line 29... |
Line 29... |
29 |
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1); |
29 |
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1); |
30 |
setup_timer_1(T1_DISABLED); |
30 |
setup_timer_1(T1_DISABLED); |
31 |
setup_timer_2(T2_DISABLED,0,1); |
31 |
setup_timer_2(T2_DISABLED,0,1); |
32 |
setup_comparator(NC_NC_NC_NC); |
32 |
setup_comparator(NC_NC_NC_NC); |
33 |
setup_vref(FALSE); |
33 |
setup_vref(FALSE); |
34 |
setup_oscillator(OSC_4MHZ|OSC_INTRC,0); |
34 |
setup_oscillator(OSC_4MHZ|OSC_INTRC,0 ); |
35 |
|
35 |
|
36 |
delay_ms(1000); |
36 |
delay_ms(1000); |
37 |
ostun=0; |
37 |
ostun=0; |
38 |
flag_temp=0; |
38 |
flag_temp=0; |
39 |
|
39 |
|