Instructables
Picture of Sainsmart LCD Shield
This instructable will show you how to use a SainSmart LCD keypad shield.


You will need:

- An Arduino Uno

- SainSmart Keypad shield

Get one here: Here
- USB cable
 
Remove these adsRemove these ads by Signing Up

Step 1: Setting Up

Picture of Setting Up
Place the Shield onto the Uno, and plug it in.

Step 2: The Code

Make sure you have the LiquidCrystal library installed.

// LiquidCrystal Print
// by Parzivail
#include
LiquidCrystal lcd(8, 13, 9, 4, 5, 6, 7);

void setup()
{
lcd.clear();
lcd.begin(16, 2);

}

void loop()
{
lcd.setCursor(0, 0);
lcd.print("Hello, World!");

}

Step 3: Done!

Picture of Done!
Congrats, you have a working LCD shield.
BallscrewBob3 months ago

hmmm no button control ?