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.