/*
proyek arduino tampilan teks
*/
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
uint8_t heart[8] = {
0b00000,
0b01010,
0b11111,
0b11111,
0b11111,
0b01110,
0b00100,
0b00000,
};
void setup() {
lcd.init();
lcd.backlight();
//menghapus
lcd.clear();
//menampilkan huruf sesuai kordinat
lcd.createChar(3, heart);
lcd.setCursor (0,0);
lcd.print("Fabiano");
lcd.setCursor (0,1);
lcd.print(" \x03 Hamnah");
}
void loop() {
lcd.scrollDisplayLeft();
delay(150);
}