if you don't mind helping me with this issue \\
I have two ultrasonic sensors and I want to make them start a timer and stop it when something passes through them and upper in the screen if it cut the distance in for EX 3 minutes it's safe and if it cut the distance in less than 3 minutes it's over speeding
unsigned long starttimertriggered=millis();
unsigned long endtimetriggered=millis();
voided loopy()
{
if start sensor triggered then starttimertriggered=millis();
if end sensor triggered then
endtimetriggered=millis();
totaltime = endtimetriggered - starttimertriggered
}
Look at File|Examples|02.Digital|BlinkWithoutDelay to use millis() for timing instead of delay().