Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Appi
#30925 hey
I am trying to migrate a working Arduino Sketch to an ESP8266-03. Within the sketch I use a I2C 4x20 LCD witch works very well in on my existing Arduino Nano. The Constructor is the following:
// Set the pins on the I2C chip used for LCD connections:
// addr, en,rw,rs,d4,d5,d6,d7,bl,blpol
LiquidCrystal_I2C lcd(0x20, 4, 5, 6, 0, 1, 2, 3, 7, NEGATIVE); // Set the LCD I2C address

With the Library LiquidCristal_I2C on the ESP8266 Platform in the Arduino IDE the Display don’t work. It is not possible to declare the pin association. The only accepted definition is:
LiquidCrystal_I2C lcd(0x0A,20,4);
Is there another library available for the ESP8266 Arduino IDE.

Thanks for your support

remo
User avatar
By schufti
#31082 if you show us the LiquidCrystal_I2C lib that you are using maybe someone can find a solution.
Interesting that your lib doesn't need the dimensions (rows, cols) of the display?
User avatar
By Appi
#31089 hey
i used the Lib from this URL:
http://www.datsi.fi.upm.es/docencia/Inf ... ue-I2C.htm

The Example "I2C LCD DISPLAY VERSION 2" works very well for my LCd 4 x 20. The lines and columes are definde in the line lcd.begin(20,4); // initialize the lcd for 20 chars 4 lines, turn on backlight

thanks

Remo