if ( sensorAnalogread <999)
{
long now = millis ();
Serial.print(millis());
Serial.print(" ");
lcd.setCursor(0,1);
lcd.print(now);
lcd.print(":T");
}
As per above code I use infrared sensor on LCD display with timer, and timer will start when sensor value < 999.
But the query is that the "timer stops if the sensor value is greater than 999", I want the timer should not stop after once starting. And after once starting doesn't want to execute the above statement.