#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
lcd.begin(16, 2);
}
void loop() {
lcd.clear();
lcd.setCursor(3, 0);
lcd.print("Pedrinho");
lcd.setCursor(3, 1);
lcd.print("Boca aberta!");
delay(3000);
for (int p = 0; p < 3; p++){
lcd.scrollDisplayLeft();
delay(300);
}
for (int p = 0; p < 5; p++){
lcd.scrollDisplayRight();
delay(300);
}
}