#include <LiquidCrystal_I2C.h>
#define I2C_ADDR 0x27
#define LCD_COLUMNS 16
#define LCD_LINES 2
LiquidCrystal_I2C lcd(I2C_ADDR, LCD_COLUMNS, LCD_LINES);
void setup() {
// Init
lcd.init();
lcd.backlight();
}
void loop() {
// put your main code here, to run repeatedly:
for (int x = 0; x < 12; x++) {
lcd.clear();
lcd.setCursor(x, 0);
lcd.print("(^_^)");
lcd.setCursor(11-x, 1);
lcd.print("(^_^)");
delay(200);
}
}