led programming in c languge

Status
Not open for further replies.
Try this **broken link removed**

Then check this site out **broken link removed**
 
Last edited:
That was C buddy


Code:
#include<reg51.h>
#include<stdio.h>
sbit led1=P1^0;
void main(void)
{
 while(1)
 {
  led1=!led1;
 }
}
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…