#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
unsigned long time_timer=millis();
unsigned long task_time_ms=0;
void setup() {
lcd.begin(16, 2);
lcd.setCursor(0, 0);
lcd.print("Contador:");
}
void loop() {
lcd.setCursor(10, 0);
if((millis()-task_time_ms)>=1000){
task_time_ms=millis();
lcd.print(((millis()-time_timer)/1000));
}
}