I have a LCD1602 soldered onto a 16 column 2 row display.
If I configure the LiquidCrystal_I2C
LiquidCrystal_I2C lcd(0x27,16,2); // DOESN'T DISPLAY ANY ROWS
LiquidCrystal_I2C lcd(0x27,16,1); // works fine, except I don't get any display on the 2nd row!!
Using...
// LiquidCrystal_I2C V2.0 - Mario H. atmega@xs4all.nl
// Mods for Chinese I2C converter board - Murray R. Van Luyn. vanluynm@iinet.net.au
Please help me understand what I can do to dig deeper. I checked the solder joints and don't see any issue.
Anyone else experience this? Adjusting the constrast shows the blocks, so the LCD itself looks ok. No compile errors on any programs I've tried.
LCD1602 on Arduino - 2nd row not displaying
Re: LCD1602 on Arduino - 2nd row not displaying
Hi,robers97!
Sincerely sorry for the delay.It is the code i write for displaying in two rows.Hope it is helpful to you!
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup() {
lcd.init();
lcd.backlight();
// Print a message to the LCD.
lcd.print("www.geeetech.com");
}
void loop() {
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print("liujinhua");
}
Best wishes to you!
-Star
Sincerely sorry for the delay.It is the code i write for displaying in two rows.Hope it is helpful to you!
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup() {
lcd.init();
lcd.backlight();
// Print a message to the LCD.
lcd.print("www.geeetech.com");
}
void loop() {
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print("liujinhua");
}
Best wishes to you!
-Star