static unsigned int PDemo1[] = { 0x11,0x11,0x11,0x23,0x22,0x64,0x0A8,0x20, 0x00,0x00,0x00,0x0FC,0x04,0x08,0x40,0x40, 0x21,0x21,0x22,0x24,0x20,0x20,0x21,0x20, 0x50,0x48,0x4C,0x44,0x40,0x40,0x40,0x80, 0x10,0x11,0x10,0x10,0x0FC,0x24,0x24,0x27, 0x00,0x0FC,0x04,0x08,0x10,0x20,0x24,0x0FE, 0x24,0x44,0x28,0x10,0x28,0x44,0x84,0x00, 0x20,0x20,0x20,0x20,0x20,0x20,0x0A0,0x40 }; int *addr; addr=0x100; for(i=0;i<63;i++) { LCDDELAY; LCDPORTDATA = PDemo1; *addr=LCDPORTDATA; } 报错 error: a value of type "int" cannot be assigned to an entity of type "int *" 为什么不对呢,应该怎么改呢?请各位高手指教,谢谢! |