// LCD1602 Arduino Uno example
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
void setup() {
lcd.begin(16, 2); //display of 16 letters and 2 rows
// you can now interact with the LCD
}
void loop() {
lcd.blink(); //Displays the blinking LCD cursor
delay(4000); //wait 4 seconds
lcd.noBlink(); // Turns off the blinking LCD cursor
lcd.print("Hello World!"); //prints Hello World! on the LCD
delay(2000);
lcd.setCursor(3,1); //starts text 3 blocks in on the 2nd line
lcd.print("I am alive!");
delay(2000);
lcd.clear(); //clears the screen
lcd.print(" wink ");
delay(2000);
lcd.clear();
}