#include <LiquidCrystal.h> //import library to work with LCD
//initialise the library by associating the respective Arduino pins and LCD pins
int rs = 8, en = 9, d4 = 4, d5 = 5, d6 = 6, d7 = 7; //USE THIS ORDER ONLY AS IN ACTUAL SHIELD RS = 8, EN = 9
LiquidCrystal lcd(rs, en, d4, d5, d6, d7); //USE THIS ORDER ONLY
void setup()
{
lcd.begin(16, 2); //set up no. of rows and columns
lcd.print("Hello World!"); //print Hello World!
}
void loop()
{
lcd.setCursor(0, 1); //set cursor position to column 0, line 1 (i.e. second line)
lcd.print(millis()/1000); //display no. of seconds since reset
//delay(100);
}