/*
* Displays text sent over the serial port (e.g. from the Serial Monitor) on
* an attached LCD.
* YWROBOT
*Compatible with the Arduino IDE 1.0
*Library version:1.1
*/
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
lcd.backlight();
lcd.print("hello, world!");
}
void loop()
{
}
Isn't this the print change in 1.6.6? I think a change is needed to the library? I'm on phone now, can't easily grab the info, but it aims really familiar
There is a bug in the latest version with Wire where it returns an error even when the transmission was successful. Here is a thread from the displays forum with the answer you need: