Marks256 said:
No, i see the lines at powerup. My flipping program does nothing.
I still can't get the thing to work! I mean
NOT AT ALL.
As someone suggested, rigging it up to a parallel port on your PC, and using some software like 'lcdsmartie' or something is great way to test the lcd in question. If its working fine, then you can worry about any micro controlling it. Google (image search?) is your friend.
I was fortunate enough to get my first HD44780-like LCD up an running in ten minutes. Was my first real PIC program too (after the mandatory 'blink' prog).
The only errors I made seemed to be hardware related, ie: getting the connections wrong, almost every time
A few sites:
http://www.hsg-kl.de/faecher/inf/msr/pic/lcd/init.gif
http://home.iae.nl/users/pouweha/lcd/lcd.shtml
**broken link removed**
**broken link removed**
I simply collected code snippets and went through all of them, working out the delays, and I can honestly say, I haven't had any trouble with commands/delay ericgibbs provided. It seems to be the conventional way.
And once its written, its written, very handy to have a bunch of routines I can just include in future progs.
I never 'read' the display, so the R/W line is tied to GND. So theres only D7-D0, RS (instruction or data) and the strobe line 'E'. So no busy flag is checked, its all maximum delays, which is probably inefficient, but I haven't as yet needed to use it.
I do'nt want to sound patronising but I'll just include some other bits as well, more info is better than less. 5v supply, contrast is usually around 0.8-1.2V, but can be negative, And are the pins numbered? I have a few oddball LCD's that seem to have them the wrong way around.
It could always be that you're LCD is faulty...I *vaguely* remember seeing that part number in a forum somewhere, and they mentioned '1989', so maybe something in it has died.
My two cents,
Blueteeth