#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27, 16, 2); 

void setup() {
  lcd.init();                      
  lcd.backlight();                 
}

void loop() {
  for (int i = 0; i < 13; i++) {
    lcd.clear();
    lcd.setCursor(i, 0);
    lcd.print("Dafa");
    delay(300);  
  }

  for (int i = 12; i >= 0; i--) {
    lcd.clear();
    lcd.setCursor(i, 1);
    lcd.print("Dafa");
    delay(300);  
  }
}