#include <LiquidCrystal_I2C.h>
#define I2C_ADDR 0x27
#define LCD_COLUMNS 16
#define LCD_LINES 2
LiquidCrystal_I2C lcd(I2C_ADDR, LCD_COLUMNS, LCD_LINES);
void setup() {
lcd.init();
lcd.backlight();
}
void loop() {
// Display your name on the first line
lcd.setCursor(0, 0);
lcd.print("Tanzeela Jabbar");
// Blink on the first line
for (int i = 0; i < 4; i++) {
delay(500);
lcd.clear(); // Clear the first line
delay(500);
lcd.setCursor(0, 0);
lcd.print("Tanzeela Jabbar");
}
lcd.clear(); // Clear the first line
// Display your name on the second line
lcd.setCursor(0, 1);
lcd.print("Tanzeela Jabbar");
// Blink on the second line
for (int i = 0; i < 4; ++i) {
delay(500);
lcd.clear(); // Clear the second line
delay(500);
lcd.setCursor(0, 1);
lcd.print("Tanzeela Jabbar");
}
lcd.clear(); // Clear the second line
}