#include <12F683.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 MCLR                  	//Master Clear pin enabled
#FUSES NOPUT                 	//No Power Up Timer
#FUSES NOBROWNOUT            	//No brownout reset
#FUSES IESO                  	//Internal External Switch Over mode enabled
#FUSES FCMEN                 	//Fail-safe clock monitor enabled
#FUSES RESERVED              	//Used to set the reserved FUSE bits

#use delay(clock=8000000)
#use rs232(baud=9600,parity=N,xmit=PIN_A3,rcv=PIN_A2,bits=8)
#use fast_io(a)
#byte puerto_a=0x005

void main()
{

   setup_adc_ports(NO_ANALOGS|VSS_VDD);
   setup_adc(ADC_CLOCK_DIV_2);
   setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
   setup_comparator(NC_NC);
   setup_vref(FALSE);
   port_a_pullups(true);


while(1){


      output_high(PIN_A1);
      output_high(PIN_A2);
      output_high(PIN_A0);
   	delay_ms(250);
  
      output_low(PIN_A1);
      output_low(PIN_A2);
      output_low(PIN_A0);
    
}
}
