lcd help

This is the place for any magazine-related discussions that don't fit in any of the column discussion boards below.
Post Reply
mikeb
Posts: 85
Joined: Fri Jul 12, 2002 1:01 am
Location: calif.
Contact:

lcd help

Post by mikeb »

Does anyone know the starting line addresses for a 4 line by 16 character lcd display. I know line #1 is at $80 and line #2 is at $C0 I need the address for lines 3 and 4. Thanks for any help you can give.
chava
Posts: 20
Joined: Mon Sep 22, 2003 1:01 am
Location: Israel
Contact:

Re: lcd help

Post by chava »

Hi
You should check how meny ROM does the LCD has/<p>I used a 2 line * 16 character LCD and I know that I have extra 24 RAM cells at each end of each line.
I'll explain:
the LCD has 2*40 RAM cells but only 16 out of 40 characters are implemented on this part. As I understand, the RAM moudule of all LCDs is the same' only that in LCDs where not all characters exist the extra RAM can be used for a general use.
hope I helped
Jukin Chava<p>E.Dove Israel
R&D
bodgy
Posts: 1044
Joined: Tue Dec 04, 2001 1:01 am
Location: Australia
Contact:

Re: lcd help

Post by bodgy »

4*16 display<p>0x80, 0xC0, 0x90, 0xD0<p>For a 4 * 20<p>0x80, 0xC0, 0x94, 0xD4<p>all assuming HD44780 or clone.<p>
Colin
On a clear disk you can seek forever.
Post Reply

Who is online

Users browsing this forum: No registered users and 148 guests