engineer khan
Member level 3
what does the following means in lcd interfacing program????(plz anybody help me brothers)
in 8051 v define this function as
Code:
lcd_cmd(unsigned char item)
{
dataport=item;
ctlrport=(0<<rs)|(0<<rw)|(1<<en);//i dont understand this
delay(1);
ctrlport=(0<<rw)|(0<<rw)|(0<<en);//i dont understand this
delay(50);
return;
}
in 8051 v define this function as
Code:
lcd_cmd(unsigned char item)
{
dataport=item;
rs=0;
rw=0;
en=1;
delay(1);
en=0;
return;
}
Last edited by a moderator: