#include <12F675.h>
#device adc=8
#FUSES NOWDT                    //No Watch Dog Timer
#FUSES INTRC_IO                 //Internal RC Osc, no CLKOUT
#FUSES NOCPD                    //No EE protection
#FUSES NOPROTECT                //Code not protected from reading
#FUSES NOMCLR                   //Master Clear pin used for I/O
#FUSES NOPUT                    //No Power Up Timer
#FUSES NOBROWNOUT               //No brownout reset
#FUSES BANDGAP_HIGH          
#use delay(clock=4000000)

#define GP0 PIN_A0
#define GP1 PIN_A1
#define GP2 PIN_A2
#define GP3 PIN_A3
#define GP4 PIN_A4
#define GP5 PIN_A5



void main()
{
   setup_adc_ports(NO_ANALOGS|VSS_VDD);
   setup_adc(ADC_OFF);
   setup_comparator(NC_NC);
   setup_vref(FALSE);
   
   TRISA=0x28;  // GP0,GP1,GP2,GP4 kimenet legyen
   PORTA=0x17;  // Kezdetben magas szinten legyenek   

   delay_ms(5000);
   output_low (GP0);
   delay_ms(500);
   output_high (GP0);
   delay_ms (25000);
   output_low (GP1);
   delay_ms(500);
   output_high (GP1);
   delay_ms (5000);
   output_low (GP2);
   delay_ms(500);   
   output_high (GP2);
   delay_ms (5000);
   output_low (GP4);
   delay_ms(500);
   output_high (GP4);
   sleep();

}

