#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2); // I2C address: 0x27 or 0x3F
void setup() {
lcd.init(); // Initialize the LCD
lcd.backlight(); // Turn on the backlight
lcd.setCursor(0, 0);
lcd.print("System Ready");
delay(2000);
}
void loop() {
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Time: ");
lcd.print(millis() / 1000);
lcd.print("s");
lcd.setCursor(0, 1);
lcd.print("Status: OK");
delay(1000);
}