#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
WelcomeScreen();
RunningText();
}
void WelcomeScreen() {
lcd.init();
lcd.backlight();
lcd.print("How are you adinda?");
lcd.setCursor(0,1);
lcd.print("Hope everyting");
delay(3000);
lcd.clear();
}
void RunningText(){
lcd.setCursor(17,0);
lcd.print("Selamat Datang... ");
lcd.setCursor(17,1);
lcd.print("Rumah");
for (int i=0;i<32;i++){
lcd.scrollDisplayLeft();
delay(200);
}
}