#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// LCD 16x2
LiquidCrystal_I2C LCD(0x27, 16, 2);
void setup() {
LCD.init();
LCD.backlight();
}
void tampil(String baris1, String baris2, int jeda) {
LCD.clear();
LCD.setCursor(0,0);
LCD.print(baris1);
LCD.setCursor(0,1);
LCD.print(baris2);
delay(jeda);
}
void loop() {
tampil("Ohh...", "", 3500);
tampil("He's Screaming", "in my head", 4000);
tampil("Oooohh", "", 4000);
tampil("I left his", "where I slept", 4000);
tampil("Somewhere,", "I can't escape", 4000);
tampil("I'm Running", "from myself", 3500);
tampil("Somewhere in", "between in", 3000);
tampil("love and broken", "I'm in hell", 4000);
tampil("Saying,", "I wanna be", 2500);
while (1); // loop berhenti
}