#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
byte i[8] = { 0b00000,0b00000,0b00000,0b00100,0b01110,0b11111,0b11111,0b01111};
byte ii[8] = {0b00000,0b00000,0b00000,0b00100,0b01110,0b11111,0b11111,0b11110};
byte iii[8] = {0b00111,0b00011,0b00001,0b00000,0b00000,0b00000,0b00000,0b00000};
byte iv[8] = {0b11100,0b11000,0b10000,0b00000,0b00000,0b00000,0b00000,0b00000};
void setup() {
lcd.init();
lcd.backlight();
lcd.createChar(1, i);
lcd.createChar(2, iii);
lcd.createChar(3, ii);
lcd.createChar(4, iv);
lcd.setCursor(0, 0);
lcd.write(1);
lcd.setCursor(0, 1);
lcd.write(2);
lcd.setCursor(1, 0);
lcd.write(3);
lcd.setCursor(1, 1);
lcd.write(4);
lcd.setCursor(3, 0);
lcd.print("I LOVE YOU");
lcd.setCursor(3, 1);
lcd.print("1zzaa");
DDRA = B11111111;
}
void loop() {
PORTA=0b0111111;
delay(1000);
PORTA=0b0000110;
delay(1000);
PORTA=0b1011011;
delay(1000);
PORTA=0b1001111;
delay(1000);
PORTA=0b1100110;//4
delay(1000);
PORTA=0b1101101;
delay(1000);
PORTA=0b1111101;
delay(1000);
PORTA=0b00000111;
delay(1000);
PORTA=0b1111111;
delay(1000);
PORTA=0b1101111;
delay(1000);
}