#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 20, 4);
LiquidCrystal_I2C lcd(0x27, 16, 2);
signed short hours, minutes, seconds;
char Total_Time[16];
void setup() {
lcd.init();
lcd.backlight();
lcd.clear();
}
void loop() {
lcd.setCursor(0,0);
sprintf(Total_Time, "%0.2d:%0.2d:%0.2d", hours, minutes, seconds);
lcd.print(Total_Time);
lcd.setCursor(0,2);
lcd.print("Your Name");
delay(1000);
seconds++;
if (seconds == 60) {
seconds = 0;
minutes ++;
}
if (minutes == 60) {
minutes = 0;
hours ++;
}
}