Write a program to glow 8 LEDs.


#include<8051.h>
void delay(unsigned int i)
{
while(i!=0)
{
i–;
}
}
void main()
{
while(1)
{
P1=0xff;
}
}

Add Comment