#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();
}
void loop() {
lcd.setCursor(0,0);
lcd.print("Bye ");
lcd.createChar(3, heart);
lcd.setCursor(1,1);
lcd.print("Good Night \x03 ! ");
delay(300);
for(int i=0;i<10;i++){
lcd.scrollDisplayRight();
delay(200);
}
lcd.clear();
}