#include <LiquidCrystal_I2C.h>
int kolom = 16;
int baris = 2;
LiquidCrystal_I2C lcd(0x27, kolom, baris);
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
}
void loop() {
// put your main code here, to run repeatedly:
int i;
lcd.setCursor(0,0);
lcd.print(" Muxx Store ");
lcd.setCursor(0,1);
lcd.print(" Aman dan Terpercaya ");
int spasiTambahan = 15;
for (i = 0 ; i<kolom + spasiTambahan; i++){
lcd.scrollDisplayLeft();
delay(100);
}
delay(2000);
lcd.clear();
lcd.setCursor(0,0);
lcd.print(" Fast Respon ");
lcd.setCursor(0,1);
lcd.print(" Ownernya ganteng ");
for (i = 0 ; i<kolom + spasiTambahan; i++){
lcd.scrollDisplayLeft();
delay(100);
}
delay(2000);
lcd.clear();
}