I have a Arduino 5V Pro Mini hooked to a 3 wire serial enabled LCD 16X2 from Sparkfun.
I am doing hello world..
I am programming with a cable and then unhooking and applying an independent 5V source.
Problem here is I am not sure what the data pin on the Pro Mini is supposed to be
/* Include the SPI/IIC Library */
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup()
{
lcd.init();
lcd.init();
lcd.backlight();
}
void loop()
{
lcd.setCursor(0,0);
lcd.print("Hello World");
lcd.setCursor(0,1);
delay(3000);
lcd.setCursor(0,1);
lcd.print(" Good Day.. ");
delay(1000);
lcd.setCursor(0,1);
lcd.print(" ");
}