Re: How to use a 4x20 lcd.
- From: Rich Webb <bbew.ar@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Jul 2008 09:12:55 -0400
On Tue, 29 Jul 2008 07:14:41 -0500, "sani_figs" <adrian_figui@xxxxxxxxx>
wrote:
Hi,
I need to use an lcd display for my project and what we have here is a
4x20 lcd. However, I can't find any starters's guide for using such device.
Btw, I'm using a zilog mcu and I have enough I/O pins for all the pins of
the lcd. It's better if your reference or sample code is in zilog syntax.
The Optrex manual is a pretty good guide to the character LCD displays.
http://www.optrex.com/pdfs/Dmcman_full.pdf
The initialization routines are where many first-time users have
problems. The manual above has step-by-step directions for
initialization in 4-bit and 8-bit modes. Be sure to follow them,
including the required delays between steps.
Once it's initialized, you'll have the choice of using either the busy
flag or waiting a pre-set maximum period between characters. Note that
some clones may require different max delays and some instructions,
e.g., clear and home, may require more than a single character delay.
--
Rich Webb Norfolk, VA
.
- Follow-Ups:
- Re: How to use a 4x20 lcd.
- From: sani_figs
- Re: How to use a 4x20 lcd.
- References:
- How to use a 4x20 lcd.
- From: sani_figs
- How to use a 4x20 lcd.
- Prev by Date: Re: AVR bootloaders
- Next by Date: Re: How to use a 4x20 lcd.
- Previous by thread: Re: How to use a 4x20 lcd.
- Next by thread: Re: How to use a 4x20 lcd.
- Index(es):
Relevant Pages
|