I want to know the pin connections for Arduino Mega2560 and a 16x2 HD44780 compatible LCD display.
none are set in stone here is mine LiquidCrystal lcd(52,50,48,46,44,42);
compaired to
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
you just have to keep them in the same order
All it would have taken is a few more comments in the example sketch ....
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(7, 8, 9, 10, 11, 12); // put your pin numbers here
Don