EmbeddedRelated.com
Forums

HD44780 Initialisation (20x4 display in 4-bit mode)

Started by Kevin Townsend October 4, 2008
Hello Kevin,

AFAIR HD44780 LCD displays are divided into two lines starting from 0
to 3Fh first and second starting from 40h to 79h. When You have more
than two line display it is possible that first line will continue in
third line, and second line will start in line numer two and continue
directly in line number four. It is possible to address cursor so to
write on second line You should set cursor address to 40h and start
writing - when You fill the line with characters, cursor will
jump/continue on line number four and later in the memory.

Regards,
Tomek

--
CeDeROM, http://www.tomek.cedro.info

An Engineer's Guide to the LPC2100 Series