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

Parents Reply Children
No data
More questions in this forum