Pages: 1 [2]   Go Down
Author Topic: problem with the arduino shield lcd  (Read 1257 times)
0 Members and 1 Guest are viewing this topic.
Western New York, USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 4435
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

We really can't do much more until we establish whether the contrast is adjusted properly as outlined in reply #13.

On the other hand:
From reply #10

Quote
Have you done the wiring as per this diagram?
http://arduino.cc/en/Tutorial/LiquidCrystal
If not, you will need to change the pin numbers in your:
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
line to match the wiring you have done.
He has not done the wiring as per that diagram because he is using a shield.  This means that the numbers in the constructor have to match the wiring that was done by the perpetrator of the shield.

My opinion is that the values given in reply # 13 are probably correct.  His documentation mentions the same pin numbers so his shield is likely have the same configuration.  Here's the DFRobot schematic for a similar, if not identical, shield --> http://www.dfrobot.com/image/data/DFR0009/DFR0009SCH01.pdf

Don
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you ffur!!! Your suggestion to change the pins assignments to:

LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

worked perfectly!

 smiley
Logged

Pages: 1 [2]   Go Up
Jump to: