4-line lcd interfacing with 8051

Thread Starter

khan yousufzai

Joined Aug 31, 2012
19
please clarify me,when v interface 2 line lcd v use command 0x38,but which command will be used for 4 line lcd or greater,plz reply me i m waiting
thanking brothers
 

t06afre

Joined May 11, 2009
5,934
If I remember correct a 4x20 display is in basic a 2x40 display. Consequently, the end address of line 1 and the start address of line 3 are consecutive. Also, the end address of line 2 and the start address of line 4 are consecutive.
In the DD-RAM line 1 starts at address 0x00. Line 2 at address 0x40. Line 3 at address 0x14. And line 4 at address 0x54
 
Top