Projects › Projects › JH162A LCD initialise problem with at89s52: Showing black box › here is my modified code but
April 19, 2012 at 5:11 pm
#7510
bnbn qwe
Participant
here is my modified code but nothing shows in simulator.
void lcd_ini() //Function to inisialize the LCD
{
lcdcmd(0x38);
delay(250);
lcdcmd(0x0E);
delay(250);
lcdcmd(0x01);
delay(250);
lcdcmd(0x06);
delay(250);
lcdcmd(0x80);
delay(250);
}
and can you please clarify the use of delay duration in LCD. our test microcontroller is at89s52 and we are using crystal oscillator of 11.59 Mhz. is that frequency is related to lcd delay? how can i change the delay accordingly?