#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16,2);
byte HatiThoriq [8] = {
B000000,
B001100,
B011110,
B011111,
B011111,
B001111,
B000111,
B000011
};
byte HatiGabriel [8] = {
B000000,
B001100,
B111110,
B011110,
B011110,
B111100,
B111000,
B110000
};
void setup() {
lcd.begin(16,2);
lcd.backlight();
// put your setup code here, to run once:
lcd.createChar(0, HatiThoriq);
lcd.createChar(1, HatiGabriel);
lcd.setCursor(3,0);
lcd.write(byte(0));
lcd.write(byte(1));
lcd.setCursor(5,0);
lcd.print("Thoriq");
lcd.setCursor(4,1);
lcd.print("2 Bulan");
delay(100);
}
void loop() {
// put your main code here, to run repeatedly:
lcd.scrollDisplayLeft();
delay(300);
}