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

Moderator: igrr

User avatar
By schufti
#31122 the url you give doesn't link to a lib, only to a project page that makes use of a lib.
The downloadlink on this page diverts to a bitbucket files page with various i2c lcd libraries.
So still no reference to the lib you are using ...

BUT: are you sure you installed the correct lib on the ESP8266 Arduino IDE?
There is no standard i2c lcd lib that comes with the ESP8266 Arduino IDE and if you installed the correct version of "your" lib, then there is no reason why the constructor would suddenly not accept the usual number of parameters.
Or did you just install some i2c lcd lib that you got offered in the librarymanager?
User avatar
By edwin
#54868 I know it has been a while but the issue stiil seems open.
The library Remo is using is the library from Francisco Malpartida, a very good and often used library in the arduino world.

The liquid Crystal_I2C library on the ESP8266 platform is another Arduino library which is more or less the standard library for the Arduino.

Remo you mention it doesn’t work because you cannot declare the pins. As far as I know that libray uses the pins as are standard on most I2C modules and it doesn’t expect them to be set separately in the initiation.

Just one question? what i2c Module are you using
When I work with the Malpartida library and the I2C lcds as offered on most chinese webshops, my initialisation is :
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
There is indeed a module that requires
LiquidCrystal_I2C lcd(0x20, 4, 5, 6, 0, 1, 2, 3, 7, NEGATIVE);
as in your example, but I still have to come across one


With regard to the malpartida library and ESP8266, till now I have avoided using it. It is a great library but on some places overly complicated, e.g. pulling the wire library from various locations depending on IDE version. However, people have posted it as to be used with the ESP8266.https://github.com/esp8266/Basic/tree/master/libraries/LiquidCrystal
I am not sure if you tested this specific LCD on yr arduono or that you have more than 1 lcd and just presumed they were the same.
Can i suggest you double check if you have the right initialisation code for your particular model. Use an I2C scanner if necessary and if for whatever reason you need to use the 'standard' LCD library I am afraid you have to dig in the h or cpp filke to set the proper pins