#include <LiquidCrystal.h>
// Initialize the library by creating an instance
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// Set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("Hello, World!");
delay(2000);
lcd.clear();
delay(500);
}
void loop(){
lcd.setCursor(0,0);
lcd.print(" DE LOS REYES, RYAN MAHINAY");
for (int position = 0; position < 16; position++) {
lcd.scrollDisplayLeft(); // Scroll the display to the left
delay(200); // Adjust the delay to control the scrolling speed
}
}