20*4 LCD line address

Thread Starter

Dritech

Joined Sep 21, 2011
828
Hi,

Can someone tell me what is the address for a 20*4 LCD to go to the second, third and forth line please?
 

MrChips

Joined Oct 2, 2009
19,159
Line 1 is 0x00
Line 2 is 0x40
Line 3 is 0x14
Line 4 is 0x54

Edit: add 0x80

Line 1 is 0x80
Line 2 is 0xC0
Line 3 is 0x94
Line 4 is 0xD4

Make sure you send this to the Instruction Register, not the Data Register
 
Last edited:

Thread Starter

Dritech

Joined Sep 21, 2011
828
Hi,

When i write those values, noting is being displayed. Do you know what can be causing this?

EDIT: OK, i was not adding 10000000 binary to the values.

Thanks :)
 

Thread Starter

Dritech

Joined Sep 21, 2011
828
Hi, I wont be displayed when i write 10 or 11 since these characters are not with the main characters. Attached is the datasheet.
 

Attachments

Top