#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup() {
lcd.init();
lcd.backlight();
//lcd.naBacklight();
//lcd.clear();
}
void loop() {
lcd.clear();
lcd.setCursor(0,0);
lcd.print("Hola mundo");
lcd.setCursor(0,1);
lcd.print("esto es IoT Topology");
delay(3000);
lcd.clear();
lcd.setCursor(16,0);
lcd.print("Hola mundo");
for(int i=1; i<=26; i++){
lcd.scrollDisplayLeft();
delay(1000);
}
lcd.clear();
lcd.setCursor(0,1);
lcd.print("Hola mundo");
for(int i=1; i<=16; i++){
lcd.scrollDisplayRight();
delay(1000);
}
}