// include the library code:
#include <LiquidCrystal.h>
char message[]=("Lovely Professional University");
// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
LiquidCrystal lcd(23, 22, 5, 4, 2, 21);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
}
void loop() {
lcd.setCursor(0,0);
for(int i=0;i<=30;i++){
lcd.print(message[i]);
delay(100);
lcd.autoscroll();
}
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print("Rahul yadav");
}