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

i am just begginer dont know how to solve undefined identifier

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