#include <LiquidCrystal.h>
// Initialize LCD with custom pin mapping (RS, EN, D4, D5, D6, D7)
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
void setup() {
lcd.begin(16, 2); // Configure the LCD to use 16 columns and 2 rows
// Show initial welcome message
lcd.setCursor(0, 0);
lcd.print("Welcome to IoT");
lcd.setCursor(0, 1);
lcd.print("College of CSIT");
delay(3000); // Wait 3 seconds before moving on
// Clear screen and display personal info
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Reham ageeli");
lcd.setCursor(0, 1);
lcd.print("IT department");
delay(3000); // Hold the message for 3 seconds
}
void loop() {
delay(50); // Keep loop running smoothly
}