This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error C202: 'p1': undefined identifier

#include<reg51.h>
void delay();

void man()
{

while(1)
{
p1=0x00;
delay();
p1=0xff;
delay();
}
}
void delay()
{
int i;
for(i=0;i<500000;i++);
}

Parents Reply Children
No data