#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 in PCF8574 by NXP and Set to 0x3F in PCF8574A by Ti
LiquidCrystal_I2C lcd(0x3F,16,2);
byte text1[] = {
B01110,
B01001,
B01001,
B01110,
B01000,
B01000,
B01000,
B00000
};
byte text2[] = {
B00000,
B00000,
B00110,
B01001,
B01001,
B01111,
B01001,
B01001
};
byte text3[] = {
B00000,
B01110,
B00100,
B00100,
B00100,
B00100,
B00000,
B00000
};
byte text4[] = {
B00000,
B01110,
B00100,
B00100,
B00100,
B00100,
B00000,
B00000
};
void setup() {
lcd.begin(16,2);
lcd.createChar(1, text1);
lcd.createChar(2, text2);
lcd.createChar(3, text3);
lcd.createChar(4, text4);
lcd.home();
lcd.write(0);
}
void loop() { }