//YWROBOT
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#if defined(ARDUINO) && ARDUINO >= 100
#define printByte(args) write(args);
#else
#define printByte(args) print(args,BYTE);
#endif
uint8_t heart[8] = {0x0,0xa,0x1f,0x1f,0xe,0x4,0x0};
LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
lcd.backlight();
lcd.createChar(3, heart);
lcd.setCursor(0, 0);
lcd.print("Let world declare...");
lcd.setCursor(1, 1);
lcd.print("I ");
lcd.printByte(3);
lcd.print(" nda!");
lcd.setCursor(2, 2);
lcd.print("AI'll always");
lcd.setCursor(3, 3);
lcd.printByte(3);
lcd.print(" Linda!");
delay(5000);
displayKeyCodes();
}
// display all keycodes
void displayKeyCodes(void) {
uint8_t i = 0;
delay(4000);
}
void loop()
{
}