Can't get LCD to work

I've been trying out my new LCD display (Xiamen Ocular, http://www.sparkfun.com/datasheets/LCD/GDM1602K.pdf), but I'm having some trouble. I've tested both the 8bit and 4bit LCD libraries, and both aren't behaving as expected:

  • When turned off, the display is black.

  • With the standard 8bit LCDLibrary and the example codes on the library page, I see one empty display line, surrounded by all black (which is unexpected, but might be a feature of the display). The debugging light on pin 13 is on. Contrast regulation works, but there is no text.

  • With the LCD4bit library and the library example code, the same thing, but this time I see both lines of text.
    I've checked the wiring twice, and there don't seem to be any mistakes. Any ideas what I'm doing wrong?

Any chance you could show us the code you're using? I have that same LCD and it works fine for me - and the only issues I have had have either been code (failing to call lcd.init()! ) or issues w/ contrast (bad pin in one of my breadboards).

If the code is sound, then we can narrow it down to something else.

!c

Got it to work on the third attempt, after re-soldering all the LCD pins. I guess there was a solder bridge somewhere.
Thanks!

drone,

Have you tried the code from this page? Arduino Playground - LCD3wires

Phil