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

syntax error

#include<stdio.h>
#include<reg51.h>
void main ()
{ int i;
p1=0x0FF;
while(1)
{ for (i=0;i<10000;i++);
p1=0x0FF;
for (i=0;i<10000;i++);
p1=0x00;
} } i am getting a syntax error
haelp me to resolve this