// LCD1602 to Arduino Uno connection example
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
void setup() {
lcd.begin(16, 2);
// you can now interact with the LCD, e.g.:
lcd.print("Hello!");
}
void loop() {
// ...
delay(2000); //Programm wartet 2 sec.
lcd.clear();
lcd.print("Bye!");
lcd.setCursor(0,1);
lcd.print("See Ya!");
delay(2000);
lcd.clear();
lcd.print("Hello!");
lcd.setCursor(0,1);
lcd.print("How are u?");
}