#include<LiquidCrystal.h>
LiquidCrystal lcd(12, 13, 5, 4, 18, 2);
String val="Gaurav Sidhu";
int count=0;
void setup(){
lcd.begin(16,2);
}
void loop() {
lcd.setCursor(0, 0);
lcd.print(val);
delay(500);
lcd.autoscroll();
count=count +1;
if (count>=20){
lcd.noAutoscroll();
delay(3000);
lcd.clear();
count=0;
}
}