abhisheksuma:
I am using relays for controlling the exhaust and the cooler .my understanding is this when the pin mode is HIGH the relay turns OFF and turns ON if the pin mode is LOW .
In case of relays I'm used to seeing HIGH being ON, but it may be the other way around - it depends on how they're wired.
How do YOUR relays work?
I am quite confused at the millies part. Is the millies not an option to my sketch?
That's be millis().
And sure that's an option for your sketch, never said it isn't. Just that your variable naming is very confusing as the name is different from the purpose.