#include <LiquidCrystal.h>
// Inisialisasi objek LCD
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
void setup() {
// Inisialisasi LCD dengan 16 kolom dan 2 baris
lcd.begin(20, 4);
// Set teks awal
lcd.setCursor(0, 0);
lcd.print("ALFRED RAJENDRA");
lcd.setCursor(0, 1);
lcd.print("220605110103 ");
lcd.setCursor(0, 2);
lcd.print("ALFRED RAJENDRA");
lcd.setCursor(0, 3);
lcd.print("220605110103 ");
delay(1000);
}
void loop() {
lcd.scrollDisplayLeft();
delay(200);
}