#include <LiquidCrystal.h>
int rs = 7;
int en = 8;
int d4 = 9;
int d5 = 10;
int d6 = 11;
int d7 = 12;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
// put your setup code here, to run once:
lcd.begin(16, 2);
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(1, 0);
lcd.rightToLeft();
lcd.print("Cuenta [1-10]:");
for (int j = 0; j <= 15; j++); {
delay(1000);
}
lcd.setCursor(0, 1);
for (int x = 0; x <= 15; x++); {
lcd.leftToRight();
lcd.print("m");
delay(1000);
}
}