trying for months
i checked the connections over and over and theyre identical to that shown in the arduino cookbook .lcd chip is the HD44780 standard controller .its all a bog standard setup ,with 4 pins data transfer
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
It has this line, which I don't pretend to understand. I just used it as is and it worked...
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);LiquidCrystal lcd(7, 8, 9, 10, 11, 12); // put your pin numbers here