You are on page 1of 1

#include<at89x52.

h>
void delay(unsigned int value)
{
unsigned char i,j;
for(i=0;i<value;i++)
for(j=0;j<1275;j++)
{}
}
void main()
{
while(1)
{
P0_0 = 1;
delay(1);
P0_1 = 0;
}
}

You might also like