#include <LCD-I2C.h>
#include <Wire.h>

LCD_I2C lcd(0x27, 16, 2); 
byte name0x0[] = { B00000, B00000, B01010, B10101, B10001, B01010, B00100, B00000 };


void setup() {
    Wire.begin();
    lcd.begin(&Wire);
    lcd.display();
    lcd.backlight();
}

void loop()
{
    lcd.print("     Hello"); 
    lcd.setCursor(5, 1); 
    lcd.print("World!");
    lcd.createChar(0, name0x0);
    lcd.write(0);
    delay(500);


    
    for (int i = 0; i < 5; ++i)
    {
        lcd.backlight();
        delay(50);
        lcd.backlightOff();
        delay(50);
    }

    lcd.backlight();
    lcd.clear();
    delay(500);
}