單片機(jī)與液晶顯示器的接口及應(yīng)用
本文引用地址:http://www.ex-cimer.com/article/170790.htm
kk=order/128;
while(!TI);
SCON=0;
SBUF=concode[kk]; kk=order%128;
kk=1;
while(!TI);
SCON=0;
SBUF=concode[kk]; kk=aaa%256;
while(!TI);
SCON=0;
SBUF=concode[kk]; for(kk=0;kk4;kk++)
{
while(!TI);
SCON=0;
SBUF=concode[0xff];?。?/p>
while(!TI);
SCON=0x10;
for (kk=0;kk16;kk++)
{
Graph_Address(x,y*8+kk);
while(!RI);
previous=SBUF;
SCON=0x10;
write_lcd(concode[previous]);
ctrl(0xc0);
while(!RI);
previous=SBUF;
SCON=0x10;
write_lcd(concode[previous]);
ctrl(0xc0);
}
previous=0x00;
}
}
結(jié)束語(yǔ)
本文介紹的液晶顯示模塊已成功應(yīng)用在便攜式軌頭斷面激光檢測(cè)儀中,由于其具有與MCU接口方便、顯示功能強(qiáng)和編程簡(jiǎn)單等優(yōu)點(diǎn),具有廣泛的應(yīng)用價(jià)值。
評(píng)論