include<reg51.h>
include<stdio.h>
void main(void)
{
unsigned innt x;
p1=0x00;
for(x=0;x<5000;x++);
p1=0xff;
for(x=0;x<5000;x++)
compiler shows error that p1 is undefined identifier
how to fix this