It looks like you have registered but you have not yet posted and
messages. Our requirements are that you must post at least two
messages, to allow the moderators to review your registration, before
you will be allowed access to the full range of forum areas.

Please make a couple of posts, until then you may see a notice that
says you are banned from certain forum areas.

JHD 204A LCD Display help

Hi I'm having a little trouble with a LCD display. I've used melabs serial LCD's before and they work great but I'm trying a JHD 204A display it's a Hitachi based display and I believe it's compatible with picbasic pro. I was trying to get it to work on a board I made for a pic16f877a but with no luck I started bread boarding it with a pic16f84a just trying to get hello world. I know the pic is sending something to it because it's a 4 line display and you can clearly see when it fires up the LCD goes from 2 lines to 4 lines as defined in the DEFINES section of the code. But I'm unable to get any thing to print. Now I"ll include my setup here and code and see if you can help me.

Hello microcnc05,
First off 4 line LCDs are really 2 line Lcds which are laid out thusly
Line 1 & Line 3 are line 1
Line 2 & line 4 are line 2. Just FYI

Try moving the E bit off PortA.4 I believe that is the MCLR pin with open collector see if that works, quick test anyway.
If so you might be able to use it with a pull up. I always ground pins 3 & 5 unless you really want to hassle using a contrast control or really need to read what is on the display.
Edit: I do not see any config statements, so you undoubtedly are using the default configs, do you know what they are ? Do you know how they are set as default ? Do you know where they are ? If the answer to any of those questions is no then goto this link: http://www.picbasic.co.uk/forum/showthread.php?t=543

Last edited by Archangel; - 18th March 2010 at 01:30.

If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets..
There simply is no "Happy Spam" If you do it you will disappear from this forum.