I purchased a 20x4 LCD with an I2C module off of ebay and am trying to get a basic “hello world” displayed on it. I have been able to get it to work using a PIC microcontroller in the past but I was using all the pins in 8 bit configuration rather than through I2C. I used an arduino code to find the correct address for the module (0X27) . I believe I have the correct LCD library downloaded, and the ports are connected correctly to SDA,SCL,5V, and GND. When I upload the code shown in the picture ,nothing is displayed on the LCD. I have tried changing the contrast but no text was displayed. Does anyone have any suggestions or see any problems with what I did? I may consider purchasing a new lcd/i2c module if this seems to be a hardware issue. I included the link to the screen I purchased below.
20x4 LCD I2C