Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
LCD HANEL
INTERFACINGSending Information to LCD Using
MOVC Instruction(cont’)
.....void lcdcmd(unsigned char value){lcdready(); //c
heck the LCD busy flag
ldata = value; //put the value on the pinsrs = 0;rw = 0;en = 1; //strobe the enable pinMSDelay(1); en = 0;return;} void lcddata(unsigned char value){ lcdready(); //c
heck the LCD busy flag
ldata = value; //put the value on the pinsrs = 1;rw = 0;en = 1; //strobe the enable pinMSDelay(1);en = 0;return;} .....