Include

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

#include<Wire.

h>
#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.setCursor(0,0);
lcd.print("Hola Mundo!");
}

void loop() {
// put your main code here, to run repeatedly:
for(int i=0;i<12;i++){
lcd.scrollDisplayLeft();
delay(500);
}

for(int i = 0; i<12;i++){
lcd.scrollDisplayRight();
delay(500);
}
}

You might also like