Hi All,
First time user of the Arduino Duemilanove Board (http://arduino.cc/en/Main/ArduinoBoardDuemilanove) and I am in desperate need of help to get my LCD (Modtronix LCD2s-204FHB -http://www.modtronix.com/product_info.php?cPath=131_141&products_id=352 ) to work?.
The LCD is a 20x4 Serial Display, and can use I2C. PDF spec here - http://www.modtronix.com/products/lcd2s/lcd2sr1_v140.pdf
I just can't get text to come onto the display? I get power and the original programmed text that came with the board.
What I have so far is:
5v from Arduino Board to 5v on LCD
Gnd from Arduino Board to Gnd on LCD
Analog pin 4 on Arduino Board() to Pin 8 on LCD (SDI/SDA) – via a 1K resistor
Analog pin 5 on Arduino Board() to Pin 10 on LCD(CLK/SCL) – via a 1K resistor
The Address switch is set to Off Off (00) which means the address should be 0x50 (or DEC 80).
My test code is here:
// example use of LCDI2C library with the web4robot.com i2C lcd display
#include <Wire.h>
#include <LCDI2C.h>
LCDI2C lcd = LCDI2C(4,20,0x50,1); // Number of lines and i2c address of the display
void setup() {
lcd.init(); // Init the display, clears the display
lcd.print("Hello World!"); // Classic Hello World!
}
void loop()
{
}
Please help – What have I done wrong?
Is it my resistors? Is it the Code? Is it my wiring?
Thanks