Nothing happens when uploading to LCD - cant find the ic2 adress

That is because the compiler only checks the code syntax, nothing to do with if the code will run or run like you want it to.

So that means those are the only two addresses responding. Do you have other devices on the I2C bus?
What sort of Arduino are you using?
What sort of LCD module are you using?
Have you got pull up resistors on the Arduino or LCD board?

Is that the one that is in the example folder called HelloWorld_i2c ?
If so your code does not match that example because your

Dose not seem to match with the one in the example that says:-

LiquidCrystal_I2C lcd(0x38, BACKLIGHT_PIN, POSITIVE);  // Set the LCD I2C address

We can only know what you tell us about your project.

1 Like