#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
lcd.clear();
lcd.setCursor(0,1);
//lcd.blink();
//lcd.scrollDisplayRight();
lcd.print("Hello World!");
//delay(1000);
//lcd.clear();
}
void loop() {
// put your main code here, to run repeatedly:
for(int i=0; i<13; i++){
lcd.scrollDisplayLeft();
delay(100);
}
for(int i=0; i<29; i++){
lcd.scrollDisplayRight();
delay(100);
}
for(int i=0; i<16; i++){
lcd.scrollDisplayLeft();
delay(100);
}
}