rwaldron/johnny-five

Is there a way to use multiple I2C LCD's

WaterWolf5918 opened this issue · 2 comments

I have 2 IC2 LCD 's each with its own I2C Address 0x26 and 0x27 is there a way to use both?

I have tried just making 2 LCD variables but both only control 1 LCD.

Also sorry if this is the wrong place to ask for help.

Hi.
You must create two objects, with different name each other, sand put the features that each one has. At that point, when you use the metho begin, you can put your different HEX address.
This one of the solutions, but always it depens on how is your code.
Let me show you a repository where I use the LCD
https://github.com/JoseAdrianRodriguezGonzalez/arduino/blob/7942246b16a2e05eb829f81517bbe9b389d8aa21/35%20capitulo/Pantalla_lcd_con_i2c/Pantalla_lcd_con_i2c.ino
If you have more doubts, I'll be here

Hi!

It is possible to use up to 8 displays (even with the same addresses).

Regards!