Pages: [1]   Go Down
Author Topic: How to use LCD with Arduino Mega 2560  (Read 1222 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 44
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to know the pin connections for Arduino Mega2560 and a 16x2 HD44780 compatible LCD display.
Logged

WV
Offline Offline
Full Member
***
Karma: 0
Posts: 160
Arduino, Helps With the ADD
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

none are set in stone here is mine
Code:
LiquidCrystal lcd(52,50,48,46,44,42);
compaired to
Code:
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
 
you just have to keep them in the same order
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 32
Posts: 4259
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

All it would have taken is a few more comments in the example sketch ....

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

Don
« Last Edit: May 12, 2012, 09:19:07 am by floresta » Logged

Pages: [1]   Go Up
Jump to: