#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
It's P1 not p1.