Blame | Last modification | View Log | Download
#include "D:\svnKaklik\programy\C\PIC\test\PIC18F2550\blik.h"void main(){setup_adc_ports(NO_ANALOGS|VSS_VDD);setup_adc(ADC_OFF);setup_spi(SPI_SS_DISABLED);setup_wdt(WDT_OFF);setup_timer_0(RTCC_INTERNAL);setup_timer_1(T1_DISABLED);setup_timer_2(T2_DISABLED,0,1);setup_timer_3(T3_DISABLED|T3_DIV_BY_1);setup_comparator(NC_NC_NC_NC);setup_vref(FALSE);//Setup_Oscillator parameter not selected from Intr Oscillator Config tab// TODO: USER CODE!!while(true){Output_high(PIN_A0);Delay_ms(100);Output_low(PIN_A0);Delay_ms(100);}}