This is the very basic Arduino code that I use with Liquid Crystal, Liquid Crystal seems less complex then lcd4bit and simple so I am just trying with it now:
#include <LiquidCrystal.h>
// LiquidCrystal display with:
// rs on pin 12
// rw on pin 11
// enable on pin 10
// d4, d5, d6, d7 on pins 5, 4, 3, 2
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);
void setup()
{
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop()
{
}
And the pin confugration is just same as there as fallows.
I am using it with a XIAMEN 1602K LCD (Amber-Black)
Unfortunately it is 03:42 here now and I am really sleepy, but tomorrow I will take a clear photo of the setup I have so you may have an idea about the general look. And also that will give me an another chance to re-check the cable stuff again.
thanks