Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

4*20

4*20

2009-01-15 by sciboy_2003

hi there...
tnx for ur comments.
i wanna use a lcd 4*20. is it possible??
if yes, i shoule select 20 or 4*40 in Chars./Line section??
or how should i connect the lcd pins to selected port??
tnx...

Re: [AVR-Chat] 4*20

2009-01-15 by David Kelly

On Thu, Jan 15, 2009 at 08:37:36AM -0000, sciboy_2003 wrote:
> hi there...
> tnx for ur comments.
> i wanna use a lcd 4*20. is it possible??

Yes.

> if yes, i shoule select 20 or 4*40 in Chars./Line section??

Try it and find out.

> or how should i connect the lcd pins to selected port??

You can connect it either 4 bits wide or 8 bits wide. Its up to you.

Read the LCD's data sheet. Most all text LCDs interface exactly the same
way with small variations in commands. The Hitachi controller doesn't
natively know a 4 line display so those are usually treated as 2 line
displays. First line may wrap to the 2nd line, or it may skip the 2nd
and go to the 3rd, I forgot. Try it, thats the only way you will learn.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.