hello, i am using keil uvision 4.0 for my 8051 projects.i am getting an error whenever i use the pre defined word 'else' in my code. ex:
if(an1==1)
{
LED1=1;
LED2=1;
else //at this point//
LED1=0;
LED2=0; }
it shows an error C141. Can you please help me out..
A least I'm sagacious enough to recognize when Please read the manual isn't the appropriate answer.
And for what it's worth, I admire your keen mental discernment and good judgment that you show in such matters.