#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); // RS, E, D4, D5, D6, D7
byte shape1[8]={B11111,B11111,B11111,B11111,B11111,B11111,B11111,B11111,B11111}
byte shape2[8]={}
byte customChar[] = {
B11111,
B10001,
B10001,
B11111,
B10000,
B10000,
B10000,
B10000
};
void setup() {
lcd.begin(16, 2);//LCD'S NUMBER OF COLUMNS AND ROWS.
}
void loop() {
lcd.createChar(0,shape1);
lcd.createChar(1,shape1);
lcd.createChar(2,customChar);
lcd.setCursor(0,0);
lcd.write(byte);
delay(1000);
lcd.write(1);
delay(1000);
lcd.write(2);
delay(1000)
}