Searching \ for 'Interfacing with an LCD' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/lcds.htm?key=lcd
Search entire site for: 'Interfacing with an LCD'.

Truncated match.
PICList Thread
'Interfacing with an LCD'
1998\03\02@015139 by Alvin Tan

flavicon
face
       Can someone tell me how to write characters to the second row of
a 16x2 LCD Display.  The LCD uses the HD44780 chip, and I am using 8 bit
interface.  I have followed some codes from Myke Predko's book, and was
also able to shift the characters around, but all of them showed up only
on the first row.  BTW, I have set the LCD Function set as 2 rows.

       Thank You.

Alvin

1998\03\02@021159 by Orin Eman

flavicon
face
>         Can someone tell me how to write characters to the second row of
> a 16x2 LCD Display.  The LCD uses the HD44780 chip, and I am using 8 bit
> interface.  I have followed some codes from Myke Predko's book, and was
> also able to shift the characters around, but all of them showed up only
> on the first row.  BTW, I have set the LCD Function set as 2 rows.

Send command 0xC0.  Then write the data for the second row.

Orin.

1998\03\02@021210 by Stephen Court

flavicon
face
part 0 547 bytes
-----Original Message-----
From:   Alvin Tan [SMTP:spam_OUTAlvin_TanTakeThisOuTspamBC.SYMPATICO.CA]
Sent:   Monday, March 02, 1998 4:54 PM
To:     .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU
Subject:        Interfacing with an LCD

       Can someone tell me how to write characters to the second row of
a 16x2 LCD Display.  The LCD uses the HD44780 chip, and I am using 8 bit
interface.  I have followed some codes from Myke Predko's book, and was
also able to shift the characters around, but all of them showed up only
on the first row.  BTW, I have set the LCD Function set as 2 rows.

1998\03\02@113038 by Mike Keitz

picon face
On Sun, 1 Mar 1998 23:10:15 -0800 Orin Eman <orinspamKILLspamWOLFENET.COM> writes:
>>         Can someone tell me how to write characters to the second
>row of
>> a 16x2 LCD Display.  The LCD uses the HD44780 chip, and I am using 8
>bit
>> interface.  I have followed some codes from Myke Predko's book, and
>was
>> also able to shift the characters around, but all of them showed up
>only
>> on the first row.  BTW, I have set the LCD Function set as 2 rows.

Set the address to 40 decimal or 28 hex, then write data for the second
row.  The second row is always placed here so the first row can be up to
40 characters long.  The data at addresses between 16 and 39 decimal are
invisible on a 16x2 display unless a display shift is performed.

To be sure the controller is operating in 2-line mode, increase the LCD
bias until the LCD dots turn completely dark.  This should happen to both
lines at the same time.  If not, it's in 1-line mode.


_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

1998\03\02@181602 by Ron Kreymborg

flavicon
face
Alvin, The second row starts at addres 0x40 (64). So you send the data
memory command or'd with this address, ie 0x80 | 0x40 = 0xc0. Then send
the characters for the 2nd row.


On Sun, 1 Mar 1998, Alvin Tan wrote:

{Quote hidden}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ron Kreymborg                   Computer Systems Manager
Monash University               CRC for Southern Hemisphere Meteorology
Wellington Road
Clayton, VIC 3168               Phone     : 061-3-9905-9671
Australia                       Fax       : 061-3-9905-9689
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...