Rules ESP Easy

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
etmay53
New user
Posts: 1
Joined: 17 May 2017, 19:09

Rules ESP Easy

#1 Post by etmay53 » 17 May 2017, 19:17

Hello,
How make a rule which test two conditions?
I wish to activate one exit if 2 entrances are in the low state at the same time.
I manage to do it for an entrance. See the code below but not with two

on Capt_haut#val do
if [Capt_haut#val]=0
gpio,16,1
//endif
endon

I tried in if to put two && between both but if one of an entrance is 0 ouput go to 1.
Thank you for your help

krikk
Normal user
Posts: 118
Joined: 28 Feb 2017, 07:57
Location: Austria
Contact:

Re: Rules ESP Easy

#2 Post by krikk » 17 May 2017, 19:19


Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests