Forum >The standard Arduino lcd library
ArduinoGeneral

The standard Arduino lcd library

userHead jessy 2011-05-25 00:57:36 4859 Views1 Replies
Can the standard Arduino lcd library be used with your LCD Keypad shield instead of the modified lcd4bit module? (I understand I may loose function of the buttons, but thats ok)
2011-05-25 23:06:37 Hi,

It is possible to use the Standard LiquidCrystal.h with the LCD/Keypad Shield.

In the Examples>Liquid Crystal> Hello world.pde example

You need to change the pins as follows:



The circuit:
* LCD RS pin to digital pin 8
* LCD Enable pin to digital pin 9
* LCD D4 pin to digital pin 4 
* LCD D5 pin to digital pin 5 
* LCD D6 pin to digital pin 6 
* LCD D7 pin to digital pin 7 

So the line should look like this:


// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

This should get you started with the LCD shield and the standard library.

userHeadPic Hector