#include <LiquidCrystal.h> //include the LiquidCrystal library
LiquidCrystal lcd(12, 10, 5, 4, 3, 2); //define LCD pins (RS, E, D4, D5, D6, D7)
void setup() {
lcd.begin(16, 2); //initializes the LCD and specifies the dimensions
lcd.print(" Nuts and Bolts ");
lcd.setCursor(0, 1);
lcd.print(" LCD Tutorial ");
delay(2000);
lcd.clear();
lcd.print("Arduino Projects");
lcd.setCursor(0, 1);
lcd.print("Tutorials & Make");
delay(2000);
lcd.clear();
lcd.print(" SUBSCRIBE");
lcd.setCursor(0, 1);
lcd.print("FOR MORE VIDEOS");
delay(2000);
lcd.clear();
}
void loop() {
lcd.begin(16, 2);
lcd.print(" Nuts and Bolts ");
lcd.setCursor(0, 1);
lcd.print(" LCD Tutorial ");
delay(2000);
lcd.clear();
lcd.print("Arduino Projects");
lcd.setCursor(0, 1);
lcd.print("Tutorials & Make");
delay(2000);
lcd.clear();
lcd.print(" SUBSCRIBE");
lcd.setCursor(0, 1);
lcd.print("FOR MORE VIDEOS");
delay(2000);
lcd.clear();
}