#include <LiquidCrystal_I2C.h>
#define I2C_ADDR 0x27
#define LCD_COLUMNS 20
#define LCD_LINES 4
LiquidCrystal_I2C lcd(I2C_ADDR, LCD_COLUMNS, LCD_LINES);
uint8_t smile[8] = {
0b00000,
0b00000,
0b01010,
0b00000,
0b00100,
0b00100,
0b10001,
0b01110,
};
void setup() {
lcd.init();
lcd.backlight();
lcd.createChar(3, smile);
lcd.begin(16, 1);
lcd.setCursor(0, 0);
lcd.print("Hello, world! \x03");
}
void loop() {
}