Go Down

Topic: How to use LCD with Arduino Mega 2560 (Read 4578 times) previous topic - next topic


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
Code: [Select]
LiquidCrystal lcd(52,50,48,46,44,42);
compaired to
Code: [Select]
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

you just have to keep them in the same order


May 12, 2012, 04:16 pm Last Edit: May 12, 2012, 04:19 pm by floresta Reason: 1
All it would have taken is a few more comments in the example sketch ....

Code: [Select]
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);      // put your pin numbers here


Go Up