#include <REGX51.H>
sbit LED=P1^0;
void delay(unsigned int i)
{
while(i--);
}
void main()
{
while(1)
{
LED=0;
delay(20000);
LED=1;
delay(20000);
}
}
#include <REGX51.H>
sbit LED=P1^0;
void delay(unsigned int i)
{
while(i--);
}
void main()
{
while(1)
{
LED=0;
delay(20000);
LED=1;
delay(20000);
}
}