Hi
It is quite easy to check that the interface is correct since there
is a busy bit in the LCD which can be polled and you can also read
back the internal RAM to be sure that it is communicating correctly.
Don't forget that you will also only see something on the display
(even when communicating correctly) when the contrast voltage is set
up correctly - the voltage required varies between manufacturers and
a little between batches.
I have some LCD demos on line [see link below] (you can control them
via Browser or by using a free software via the Internet). If you
download the free VIPpanel software you have an LCD control panel
which allows you to control all aspects of the LCDs (vary the
backlight intensity, contrast setting, send and verify all
commands). As well as working on line (visible via webcam), the
VIPpanel also includes an accurate LCD simulator which allows the
testing of individual commands and an LCD display where the exact
effect can be seen (including user defined characters and cyrillish
fonts, etc.).
You can see the demos and get the SW at www.mjbc.ch, including
detailed user manual. It may save you a lot of time if there is
something that you are not sure of and I offer free support for the
VIPpanel if there are any questions (if you want to go online with
it, simply set the communication to Internet rather than serial and
destination IP address 212.254.22.36 port 1923).
Cheers
Mark Butcher
www.mjbc.ch
--- In lpc2000@yahoogroups.com, "teddyroskvist" <thr@r...> wrote:
>
> I have some lcd's with the HD44780 controller. 2x16 - 2x20 - 4x20
>
> I have been trying to interface them with my lpc2119 devel. board.
>
> But im having truble getting the display to respond ( i thing im
> initalizing wrong - or somthing )
>
> Because i sure i have connectet it correctly with my
hardware/software,
> i think the problem is in my programming.
>
> Therfore i would like to see samples of how YOU do it.
> If you have ANY code i may see, please send it to 05010@i... or
post
> it how you may find best.
>
> The only thing i would ask beside a copy of code, is if you would
put a
> comment, in the code, where the pinout i defined, og write it in
the
Show quoted textHide quoted text
> start of the code.
>
> Regards.
> Teddy
>