Im sending the commands as per datasheet....
and trying to turn on display by display on/off command
but nothing is happening on display.
Even im not able to analyse whether display is working or not(means if damaged).
is following sequence of commands is write or not
void init_LCD()
{
delay();
RES = 0;
delay();
delay();
RES = 1;
delay();
delay();
A0 = 1;
delay();
CS = 1;
delay();
write_command(0xAD); //LCD Bias
write_command(0xA0); //seg direction
write_command(0xC0); //coloumn direction
write_command(0x21); //v0 resisor set
write_command(0x81); //Electronic volume
write_command(0x00); //Electronic volume
write_command(0xE1); //power saver off
write_command(0x2F); //power control set
write_command(0x40); //start line
write_command(0x00); //start line
write_command(0xB0); //page addr
write_command(0x10); //coloumn addr upper bit addr
write_command(0x00); //coloumn addr lower bit addr
write_command(0xAE); //display on
//write_command(0xA5); //display all points on
delay1();
}
void write_command(unsigned char cmd)
{
A0 = 0;
CS = 0;
delay();
RD = 1;
WR = 0;
LDATA = cmd;
delay();
WR = 1;
delay();
CS = 1;
A0 = 1;
delay();
}