#include<12F510.h> #fuses INTRC,NOWDT,NOPROTECT,NOMCLR #use delay(clock=4000000) #use fast_io(b) #define LED PIN_B0 void main() { set_tris_b(0); SETUP_ADC_PORTS(NO_ANALOGS); //Set Pin for Digital output setup_comparator(NC_NC_NC_NC); SETUP_TIMER_0(RTCC_INTERNAL); //for B2 Digital output while(true) { output_toggle(LED); delay_ms(500); } }