two buttons two relays.
ems
Posts: 1
I'm hoping to be able to hit one button, close a relay for 20 seconds and during that time hit the other button and close it's relay for 20 seconds
Any help would be most appreciated.
thanks
DO
DEBUG HOME
DEBUG ? IN3
DEBUG ? IN4
IF (IN3 = 1) AND (IN4 = 1)THEN
HIGH 14
HIGH 15
PAUSE 20000
ELSEIF (IN3 = 1) THEN
HIGH 14
PAUSE 20000
ELSEIF (IN4 = 1)THEN
HIGH 15
PAUSE 20000
ELSE
PAUSE 50
ENDIF
LOW 14
LOW 15
PAUSE 25
LOOP
Any help would be most appreciated.
thanks
DO
DEBUG HOME
DEBUG ? IN3
DEBUG ? IN4
IF (IN3 = 1) AND (IN4 = 1)THEN
HIGH 14
HIGH 15
PAUSE 20000
ELSEIF (IN3 = 1) THEN
HIGH 14
PAUSE 20000
ELSEIF (IN4 = 1)THEN
HIGH 15
PAUSE 20000
ELSE
PAUSE 50
ENDIF
LOW 14
LOW 15
PAUSE 25
LOOP
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen