I reinstalled a previously working sketch to my UNO and now the behaviour of the lcd has changed.
Previously this example worked perfectly:
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.print("Hello, world!");
}
void loop()
{
}
Now it only displays the very first character 'H'
This version does work though:
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.print("H");
lcd.print("e");
lcd.print("l");
lcd.print("l");
lcd.print("o");
lcd.print(" ");
lcd.print("W");
lcd.print("o");
lcd.print("r");
lcd.print("l");
lcd.print("d");
}
void loop()
{
}
Can anyone shed me any light what is the reason of this change in behaviour and how to solve it?
Running version 1.8.3 on a W7pro PC