Hi, I'm newbie with arduino and I'm trying to use an I2C with a LCD 16x2. For the moment I'm just trying to make a "Hello World" program, but the LCD only displays white squares on the first row. I've tried with different programs/codes that i've seen on youtube, but there hasn't been any difference.
This is the code that I'm using. If someone can help me, I would really appreciate it
Your sketch works with a PCF8574 backpack (though I'd take all the code out of the loop function and put it at the end of the setup function). As well as the things @LarryD mentioned, check your wiring to make sure you've got continuity on the SDA and SCL lines.
If your backpack has a PCF8475A IC, try using address 0x3F rather than 0x27.
Good news, the lcd with the I2C is working now. It seems it was the soldering on RW. After I fix it, it is now displaying the hello world message. Thank you all for the help!