Hi, I recently bought white & blue 20x4 I2C LCD display but after putting my code into arduino I found out that the lower two rows stay white no matter what I do. The upper two rows work just fine. I'm using LiquidCrystal_V1.2.1 library which should have no problems with 20x4 I2C displays. Even when I set the cursor on third row and wriite a word there, it still stays white. Ideas? I'm worried it can be hardware issue. My code:
Yes, well it does look as if that could be the case as you appear to have all the correct numbers in your code.
except
Your descriptor includes pin numbers 0 and 1. These are the serial interface to the ATmega chip from the USB, and unless you have a really, really good reason to use these for something other than serial communication, you should not use these pins. I doubt however that this could be the cause of the problem as such. Unlikely.
Picture gone?
That's the trouble with using crap sites like "dropbox".
Paul__B:
Your descriptor includes pin numbers 0 and 1. These are the serial interface to the ATmega chip from the USB, and unless you have a really, really good reason to use these for something other than serial communication, you should not use these pins.
I used those pins on 16x2 display and everything worked fine. Now I tried to change the pins but still the same result.
Paul__B: except
Your descriptor includes pin numbers 0 and 1. These are the serial interface to the ATmega chip from the USB, and unless you have a really, really good reason to use these for something other than serial communication, you should not use these pins. I doubt however that this could be the cause of the problem as such. Unlikely.
I think you have had a brain fart.
The pin numbers in the I2C constructor are the i/o pin numbers for the PCF8574 not the Arduino.