gfvalvo:
If t equals 25 and h equals 70, then neither branch will be taken. The relay output will remain unchanged from its present value.
Poor coding technique at best.
But it did, thou be it not both thresholds hit exactly at the same millisecond, but if one has met threshold then the following it still works. Like you say poor coding. Also i'm not asking you to do it for me, but more asking for a hint in the right direction, so if you could point me in the right direction that would be greatly appreciated, also with the delay.
kenwood120s:
Related to this thread
Yes very much so, the same project, i added in the OP wasn't to sure if it needed to go into a second thread or weather two items of interest was ok in one. Thank you kenwood i appreciate the help.