#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
/*byte customChar[8] = {
0b11111,
0b00100,
0b00100,
0b11100,
0b10111,
0b11101,
0b00101,
0b00101
};
byte customChar1[8] = {
0b11111,
0b00101,
0b01001,
0b10111,
0b10101,
0b10111,
0b01001,
0b00101
}; */
byte customChar2[] = {
B01110,
B10001,
B01010,
B10001,
B11111,
B10001,
B01110,
B00000
};
byte customChar3[] = {
B01110,
B10001,
B01010,
B10001,
B11011,
B10001,
B01110,
B00000
};
void setup()
{
lcd.begin(16,2);
//lcd.createChar(0, customChar);
//lcd.createChar(1, customChar1);
lcd.createChar(2, customChar2);
lcd.createChar(3, customChar3);
//lcd.write((byte)0);
//lcd.write((byte)1);
}
void loop()
{
lcd.write(2);
delay(200);
lcd.write(3);
delay(200);
}