#include<reg51.h>
#define uint unsigned int
#define uchar unsigned char
void Delay(uint i)
{
uint j;
for(;i>0;i--)
for(j=0;j<125;j++);
}
void main()
{ EA=1;
EX0=1;
ITO=1;
while(1)
{P2=0;}
}
void int0() interrupt 0
{ uchar m;
for(m=0;m<5;m++)
{ p1=0*0f;
Delay(800);
p1=0*f0;
Delay(800)}
}