I am new to arduino and am trying to get a I2C interface working. I think I am close. I've blundered thru the forum and am now more confused than ever... not unexpected for a 73 year old.
I have a 4 line 44780 compliant (?) lcd hooked up to a duemilanove and have verified the address as 0x27 so I think the I2C is working.
I get two lines of black squares the other two are blank. The display flashes in accordance with the delays in both the setup and the loop, but no text.
Perhaps I am using the wrong library as there seen to be many of them....
Here is the code I am using:
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,20,4);
void setup()
{
lcd.init();
lcd.backlight();
lcd.setCursor(0,0);
lcd.print("test test test");
delay(1000);
}
void loop()
{
lcd.print("XXXXXXXXXXXXXXXXXXXXXXXXXX");
delay(100);
}
Sorry for the clumsy posting.