#include <LiquidCrystal_I2C.h>
#define LCD_ADDR 0x27
#define LCD_COLUMNS 20
#define LCD_ROWS 4
LiquidCrystal_I2C lcd(LCD_ADDR, LCD_COLUMNS, LCD_ROWS);
void setup() {
// put your setup code here, to run once:
lcd.begin(20,4);
lcd.init();
lcd.backlight();
}
void loop() {
// put your main code here, to run repeatedly:
int i;
lcd.setCursor(7,0);
lcd.print("Hello All");
lcd.setCursor(0,3);
lcd.print("Thanks You");
for (i = 4 ; i < 20; i++)
{
lcd.scrollDisplayLeft();
delay(200);
}
}