#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);
int i=0;
void setup()
{
// initialize the LCD
lcd.begin();
// Turn on the blacklight and print a message.
lcd.backlight();
lcd.print("Im alive! ^_^");
delay(1000);
}
void loop()
{
lcd.setCursor(0,1);
lcd.print(" ");//Print 16 spaces to Erase row
i=i+1;
lcd.setCursor(0,1);
lcd.print(i);
lcd.print("sec");
delay(1000);
}