//Wokwi Serial terminal simulation - Wokwi Arduino Simulator
#include <LiquidCrystal.h>
// Initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// Set up the LCD's number of columns and rows
lcd.begin(16, 2);
}
void loop() {
lcd.setCursor(16,0);
lcd.print("Arbaaz You are very good boy");
for (int i=0;i<30;i++)
{
lcd.scrollDisplayLeft();
delay(300);
}
lcd.clear();
{
lcd.setCursor(16,0);
lcd.print("He likes to eat pizza");
for (int i=0;i<30;i++)
{
lcd.scrollDisplayLeft();
delay(300);
}
lcd.clear();
}
}