33.c(24): error C213: left side of asn-op not an lvalue什么意思,怎么修改

#include "REG51.H"
void delay1ms();
void main()
{
unsigned char code led[]=
{0x18,0x24,0x24,0x24,0x24,0x24,0x24,0x18, //0
0x00,0x18,0x1c,0x18,0x18,0x18,0x18,0x18, //1
0x00,0x1e,0x30,0x30,0x1c,0x06,0x06,0x3e, //2
0x00,0x1e,0x30,0x30,0x1c,0x30,0x30,0x1e, //3
0x00,0x30,0x38,0x34,0x32,0x3e,0x30,0x30, //4
0x00,0x1e,0x02,0x1e,0x30,0x30,0x30,0x1e, //5
0x00,0x1c,0x06,0x1e,0x36,0x36,0x36,0x1c, //6
0x00,0x3f,0x30,0x18,0x0c,0x0c,0x0c,0x0c, //7
0x00,0x1c,0x36,0x36,0x1c,0x36,0x36,0x1c, //8
0x00,0x1c,0x36,0x36,0x36,0x3c,0x30,0x1c,
} ; //9
unsigned char w;
unsigned int i,j,k,m;
while(1){
for(k=0;k<10;k++)
{
for(m=0;m<400;m++)
{
"w"=0x01;
j=k*8;
for(i=0;i<8;i++)
{ P1=w;
P0=led[j];
delay1ms();
"w"<<=1;
j++;
}
}
}
}

}
void delay1ms()
{
unsigned char i;
for(i=0;i<0xf0;i++);
}
老提醒我unsigned char w;前面出现这句话是什么意思,怎么修改

51单片机上的C?
这个错误的意思是:(等号的)左边不是一个左值。这是简单的语法错误。
unsigned char code led[] 中间的code是怎么回事?unsigned char led[]就好了啊。
温馨提示:答案为网友推荐,仅供参考
相似回答