#include <LiquidCrystal.h>
// Inisialisasi pin LCD
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); // Sesuaikan pin jika perlu
String message = " LIVIAN IS HERE! ";
int position = 0;
void setup() {
lcd.begin(16, 2);
}
void loop() {
lcd.clear();
lcd.print(message.substring(position));
if (position > 0) {
lcd.setCursor(16 - position, 0);
lcd.print(message.substring(0, position));
}
position++;
if (position > message.length()) {
position = 0; // Reset posisi
}
delay(200); // Kecepatan scrolling
}