#include <LiquidCrystal.h>
const int PIN_RS = 12;
const int PIN_E = 11;
const int PIN_DB_4 = 5;
const int PIN_DB_5 = 4;
const int PIN_DB_6 = 3;
const int PIN_DB_7 = 2;
// Buat objek LCD
LiquidCrystal lcd(PIN_RS, PIN_E, PIN_DB_4,
PIN_DB_5, PIN_DB_6, PIN_DB_7);
void setup()
{
lcd.begin(16, 2);
}
void loop() {
// put your main code here, to run repeatedly:
lcd.clear();
lcd.print("catu kali lima?");
lcd.setCursor(0, 1);
lcd.print("cepulu");
delay(5000);
lcd.clear();
lcd.print("Mane bole");
lcd.setCursor(0, 1);
lcd.print("lapan la Hasilny");
delay(5000);
}