I've bought a cheap I2C LCD display (specs in the end of this question).
I can't make it print. I've tested with two displays of same model, so nothing is broken.
I am using the NewliquidCrystal 1.3.4 library, ie not the "normal" LiquidCrystal library. I'm trying with the I2C example called HelloWorld_i2c (link to example code). I've only changed the address from 0x37 to 0x27.
It compiles fine, but the result is only that the display flickers.
What is wrong and how do I fix it?
Super simple example flickers too
Well, this one gives just one blink.
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27); // Set the LCD I2C address
void setup()
{
lcd.begin(16,2); // initialize the lcd
lcd.home (); // go home
lcd.print("Hello, ARDUINO ");
}
void loop()
{
}
Pictures
In the light it shows that the writing to the display is randomly jumping around.
In the dark, it shows that the background light flickers:
Details about the LCD display
Text on the backside
YwRobot Arduino
QAPASS
LCM1602 IIC V1
Text on the chip
TLPCF85747
HA
T62281
A N 1
I L knM988223
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);