void chk_busy()
{
unsigned int temp;
*addr = 0x00ef;
*LCDCOM = 0x0005; //RS=0(comm), RW=1(read), RST=1
temp = 0x0080;
while((temp&0x0080)!=0)
{
*LCDCOM = 0x000d; //EN=1
*addr = 0x00f7;
delay(10);
temp = *LCDIN;
*addr = 0x00ef;
*LCDCOM = 0x0005; //EN=0
}
*addr = 0x00ff;
//while((LCD_DAT&0x80)!=0);
}
请教一下,就是这个*adde指向的地址是怎么来的? |