#include <LiquidCrystal.h>
LiquidCrystal lcd(23, 22, 19, 18, 5, 16);
byte heart[8] =
{
0b00000,
0b01010,
0b11111,
0b11111,
0b11111,
0b01110,
0b00100,
0b00000
};
byte smile[8] =
{
0b00000,
0b00000,
0b01010,
0b00000,
0b10001,
0b01110,
0b00000,
0b00000
};
void setup()
{
lcd.begin(16,2);
lcd.createChar(1, heart);
lcd.createChar(2, smile);
}
void loop()
{
lcd.setCursor(0,0);
lcd.write(1);
lcd.setCursor(0,1);
lcd.write(2);
}