#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Initialize the LCD object with the I2C address and dimensions
LiquidCrystal_I2C lcd(0x27,20,4);
void setup() {//starting of the setup() function
lcd.init();// Initialize the LCD
lcd.backlight();// Turns on the backlight
}//end of the setup() fuction
void loop() {//starting of the loop() fuction
lcd.setCursor(0,0);
lcd.print("Welcome to TEAM");// Display "Welcome to TEAM"
delay(5000);//Display the next notice after 5 second
lcd.clear();//clears the lcd display
lcd.setCursor(3,0);
lcd.print("Have a nice day");//Display "Have a nice day"
delay(5000);//Display the next notice after 5 second
lcd.clear();//clears the lcd display
lcd.setCursor(0,1);
lcd.print(" Welcome to dept of ETC ");//Display "Welcome to dept of ETC"
delay(5000);//Display the next notice after 5 second
lcd.clear();//clears the lcd display
lcd.setCursor(0,0);
lcd.print("Tmrw will be a holiday"); //Display "Tmrw will be a holiday"
delay(5000);// Wait for another 5 seconds before repeating the cycle
lcd.clear();//clears the lcd display
}//end of the loop() function