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

Keil Error - Building

*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL

#include<reg52.h>
int i,j;
bit state=0;
sbit ledPin = P1^5;
void main()
{
        while(1)
        {
                ledPin = 1;
                for(i=0;i<1000;i++)
                {
                        for(j=0;j<120;j++)
                        {
                        }
                }
                ledPin = 0;
                }
}

Thx in Advance