Introduction: Arduino LCD!

About: I love electronics and like doing other stuff. RANDOM stuff.......

Have you seen an lcd screen? Well, today, you can use a lcd keypad shield and program it to display things!


Parts:
DFRobot lcd keypad  shield
arduino
computer
usb cable

Step 1: Hooking It Up(code)

//The code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
int readkey;
void setup() {
  lcd.begin(16, 2);
  lcd.print("Fathers day");
}
void loop() {
  lcd.setCursor(0, 1);
  lcd.print("It doesn't?");
  readkey=analogRead(0);
  if (readkey<50) {
  lcd.clear();
  lcd.print("Button Right");
  }
  else if(readkey<195) {
    lcd.clear();
    lcd.print("Button Up");
  }
  else if(readkey<380) {
    lcd.clear();
    lcd.print("Button Down");
  }
  else if(readkey<790) {
    lcd.clear();
    lcd.print("Button Left");
  }
}

Step 2: Finished!

I am a 8-year old boy named Jason and I live in Canton,MI.
I did this by myself and you can see the video clip below.
Thanks for reading this instructable!

Update: I'm now 14 :)

Pocket Sized Electronics

Participated in the
Pocket Sized Electronics