i used those booleans in order to get value for the interval only once at the thime of roomtemp>=30 and digitalread coolerpin= off.My understanding is that if i not user booleans the value of intervel always changes even when already the exhaust pin = on and both those condetions are met ( roomtemp>=30&& digitalread coolerpin=off ).I am trying to start count the interval only at the time of exhaust pin = on.
actualy my knowledge about the millies and arduino world is very limited but i am very much interested in doing stuff like this.Don't mind if my understanding is very childish.