... and the output was just black boxes in the bottom line , with the top line being blank.
The connections from the lcd to arduino are the regular ones...
...except V0,as i connected it to GND.
... and is it this which is causing the problem?
... and in this case is your issue.
what i see is a blank line in the first row followed by square boxes in the next row ...
...so i think there is no problem with the connections.
Make sure that RS goes to pin 7 of arduino,EN goes to pin 8, and the four data pins (14,13,12,11) of the LCD goes to pins 12,11,10,9 of your arduino.So it should be: LiquidCrystal lcd (220.127.116.11.11.12);Now it should work fine!
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);LiquidCrystal lcd(7, 8, 9, 10, 11, 12); // put your pin numbers here