Hello. I'm new about prohraming arduino, but for now all go good just this time.
I making manual and automatic green house. For now all work like I plan it.
I make if condition when you set potenciometers for start watering (hour, minute, dirt humidity and temperature). All work perfect. The problem is because when minute change +1 it stop watering. I dont want to use delay function. I want watering to stop when dirt humidity sensor is high or the same number that you want.
If you look at pic I use else if because when temperature is high to turn led just in yellow and the last is like before.
Like i say I want to repeating program at first if and continue when dirt sensor is the same or high.