#include<LiquidCrystal.h>
LiquidCrystal lcd{13, 12, 14, 27, 26, 25};
char message[] = {"Lovely Professional University"};
void setup() {
// put your setup code here, to run once:
lcd.begin(16, 0);
// lcd.print("Lovely Professional University");
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(0, 0);
// for(int i = 0; i < 15; i++)
// {
// lcd.scrollDisplayLeft();
// delay(100);
// }
for(int i = 0; i <= 30; i++)
{
lcd.print(message[i]);
delay(100);
if(i > 16)
{
lcd.autoscroll();
}
}
}