OLED and LCD AT THE SAME TIME

Hello, i have an OLED 128x64 and a LCD 16x2 ( 4 pins i2c), and i want to set both of them at the same time, but i don't know how.

How can i change the pins of the LCD or the OLED?

Thanks!

Do you mean how can you change the addresses of the devices (assuming they need changing)?

Yes, cause for OLED and LCD ( with i2c) i must use pins A4 and A5 at the same time, so i need to change the adress of one of the devices in order not to use the pins A4 and A5.

No, that not how the I2C bus works.
If the devices have different addresses, they can happily share the same pins - that's why it is a bus.

marioval97:
Yes, cause for OLED and LCD ( with i2c) i must use pins A4 and A5 at the same time, so i need to change the adress of one of the devices in order not to use the pins A4 and A5.

You will use the same pins A4 and A5.

The OLED and the LED must have different addresses.
Do you know what their addresses are?

Yes, it Works now! Thanks!