Thank you so much,
Is there water in the tank?
If no wait four hours and restart loop
if yes, does the soil need watering?
If no wait four hours and restart loop
if yes water, then wait four hours and restart loop.
What I want is that it checks each of those and then counts down 4 hours until it checks again. How would I change the code to make that happen?
Again, thank you so much for this
Let me just clarify that there should only be one count-down, and they are all else/if statements based on the decision tree below:You have three countdown timers. Each for the same 4 hours.
Is there water in the tank?
If no wait four hours and restart loop
if yes, does the soil need watering?
If no wait four hours and restart loop
if yes water, then wait four hours and restart loop.
So let me check;Maybe it is doing what you asked. But what you asked is not what you actually wanted...
What I want is that it checks each of those and then counts down 4 hours until it checks again. How would I change the code to make that happen?
Again, thank you so much for this
Statistics: Posted by sattynav — Fri Aug 02, 2024 1:34 pm