#include <LiquidCrystal_I2C.h>
// set the LCD addres to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
Serial.begin(115200); // initialize the serial monitor
lcd.init(); //initialize lcd screen
lcd.backlight(); // turn on the backlight
lcd.print("Welcome to T4T");
lcd.setCursor(0,1); //set the position we want to display on the LCD
lcd.print("WORKSHOP!");
delay(4000); // wait for one second
}
void loop() {
lcd.clear(); // clear the screen
lcd.setCursor(0,0);
lcd.print("I started since");
lcd.setCursor(0,1);
lcd.print(millis()/1000);
lcd.print(" seconds ago!");
delay(1000); // wait for one second
}