Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to use multiple I2C LCD's #1840

Open
WaterWolf5918 opened this issue Jan 20, 2024 · 2 comments
Open

Is there a way to use multiple I2C LCD's #1840

WaterWolf5918 opened this issue Jan 20, 2024 · 2 comments

Comments

@WaterWolf5918
Copy link

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.

@JoseAdrianRodriguezGonzalez
Copy link

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

@tbaltrushaitis
Copy link

Hi!

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

Regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants