04-18-2013 08:19 AM
what is your reasoning for the use of inner while loops? change them to true/false case statements....
04-18-2013 08:48 AM - edited 04-18-2013 08:50 AM
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?
04-18-2013 08:56 AM - edited 04-18-2013 08:57 AM
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.
Hanes