Hi all
I want to use a button as an input to my CAI. I already have a setup where I tell the CAI over a web page to change an output to close a relay to open one of my garage doors. I use it to open/close either on demand. I would like to setup a single button in the house connected to a ttl input. I would like to press the button once and open door #1 and twice to open door #2.
Here is what I am using presently:
START
TSTEQ OP1[1000] 1
SET OP1 0
TSTEQ OP2[1000] 1
SET OP2 0
END
Pretty simple really
How woul dI do this?
Any help greatly appreciated!
I want to use a button as an input to my CAI. I already have a setup where I tell the CAI over a web page to change an output to close a relay to open one of my garage doors. I use it to open/close either on demand. I would like to setup a single button in the house connected to a ttl input. I would like to press the button once and open door #1 and twice to open door #2.
Here is what I am using presently:
START
TSTEQ OP1[1000] 1
SET OP1 0
TSTEQ OP2[1000] 1
SET OP2 0
END
Pretty simple really
How woul dI do this?
Any help greatly appreciated!