Skip to main content

Posts

Showing posts from February, 2012

Led Blinking using Experiment 12F629

Program ////////////////////////////////////////////////////////////////////// void init_ports(void) { TRISIO = 0; } ////////////////////////////////////////////////////////////////////// void main() { int x; init_ports(); do{ GPIO.GP1=1; Delay_ms(1000); GPIO.GP1=0; Delay_ms(1000); //GPIO.GP1=1; }while(1); } Code is written using MikroC