unsigned char idata temp;
unsigned char ReadLcd(void )
{
LcdCommand=0x43; // Read Control , A=1; // 读操作
temp=LcdCommand;
return(temp);
}
void Drawdian(uint x,uint y) //写操作
{
uchar a;
LcdAddress.Addrint=0x1000+y*0x28+(uint)(x/8);
LcdCommand=0x46;LcdParame=LcdAddress.Addrchar[1];LcdParame=LcdAddress.Addrchar[0];
LcdCommand=0x4c;
a=0x80> > (x%8);
ReadLcd();
LcdCommand=0x42;LcdParame=a|temp;
}