#include <LiquidCrystal.h>
// Initialize the LCD (RS, EN, D4, D5, D6, D7)
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
void setup() {
lcd.begin(16, 2); // Set up the 16x2 LCD
}
void loop() {
// First part of the message: "WELCOME TO STANDARD BANK"
lcd.clear(); // Clear the display
lcd.setCursor(0, 0); // Set cursor to the first row
lcd.print("WELCOME TO");
lcd.setCursor(0, 1); // Set cursor to the second row
lcd.print("STANDARD BANK");
delay(3000); // Wait 3 seconds
// Second part of the message: "YOUNG TALENT CAREER FAIR"
lcd.clear(); // Clear the display
lcd.setCursor(0, 0); // Set cursor to the first row
lcd.print("YOUNG TALENT");
lcd.setCursor(0, 1); // Set cursor to the second row
lcd.print("CAREER FAIR");
delay(3000); // Wait 3 seconds
}