// include the library code:
#include <LiquidCrystal.h>
char message[]={"lovely Professional University"};
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(19, 23, 18, 2, 4, 15);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
}
void loop() {
lcd.setCursor(0,0);
for (int i = 0; i <=30; i++)
{
lcd.print(message[i]);
delay(200);
if(i>16)
{
lcd.autoscroll();
}
}
}