Showing results for 
Search instead for 
Did you mean: 

set ON with delay

Go to solution
Accepted by topic author Hanes_666

what is your reasoning for the use of inner while loops? change them to true/false case statements....

0 Kudos
Message 11 of 13

I used while loop according to some elapsed time example. I don't know how do you think to use F/T case structure -> If it comes some water on sensor, value rises up above the treshold, comparison gives false value and case structure switch to False -> True case stops. I need to run the command (pin set ON until the set time runs out) irrespective of, what the value gives sensor during this operation. Please can you be more concrete, how to construct the case?

0 Kudos
Message 12 of 13

Well done apok,

I tried some variants with T/F case, and that was the point. Thanks a lot!!! Problem solved!! 🙂

Have a nice day and once more thanks for your time and help.


0 Kudos
Message 13 of 13