//Wokwi Serial terminal simulation - Wokwi Arduino Simulator
void setup() {
Serial.begin(115200);
Serial.println("Timer count");
Serial.println("-----------");
}
int time=0;
int second=-1;
void loop() {
time=millis();
if (time/1000 != second)
{
Serial.print("Second: ");
Serial.println(time/1000);
second=time/1000;
}
}