Introduction: LCD Arduino Shield
Today, I will be showing you how to use a LCD shield to display text using an Arduino. It is very easy.
Things you will need
1 Arduino UNO
1 LCD shield
Step 1: Assemble
Well, this is easy.
Step 2: Add Code
Just paste this in the Arduino IDE
#include
// LiquidCrystal Print
// by Peyt52
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(""); //First line of text
lcd.setCursor(0, 1);
lcd.print(""); //Second line of text
}
I hope that was easy enough. Ask questions in the comments!