What I'm trying to say is how can I set the amount of time the arduino spends reading each sensor
void loop()
{
delay (1000);
if (analogRead(0) < 200){(++CumulativeTotal);} // if statement true add 1 to 'The cumulative total' which will be displayed to the seven segment display.
else// do nothing
delay (10);
if (analogRead(1) < 2) {(++CumulativeTotal);} // if statement true add 1 to 'The cumulative total' which will be displayed to the seven segment display.
else// do nothing
delay (10);
if (analogRead(2) < 2) {(++CumulativeTotal);}// if statement true add 1 to 'The cumulative total' which will be displayed to the seven segment display.
else// do nothing
delay (10);
here all 3 sensors readings are fed into arduino then there is a 1 second display and the loop starts back over. what I want to happen is once the first sensor has breached ( < 200) use the information from all three sensors at that time then disregard all other readings for 30 seconds