Go Down

Topic: problem with the arduino shield lcd (Read 4247 times) previous topic - next topic


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

Have you done the wiring as per this diagram?
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



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

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

worked perfectly!


Go Up