Help with alarm project
Gabe82
Posts: 3
I working on·a project for work.· It has been a couple of years since I have even touched a Basic Stamp and I can't remember much of the code.
What I am trying to do is set up a counter/timer so that if I get an input from an outside contact such as a pushbutton it will count to 4.·However I want it to time to, if it doesn't get to 4 within one minute I want the counter to reset.· If the counter does make it to 4 within 1 minute I want to enable an output, possibly to an opto isoloator which will go to another relay I have.
What I am trying to do is set up a counter/timer so that if I get an input from an outside contact such as a pushbutton it will count to 4.·However I want it to time to, if it doesn't get to 4 within one minute I want the counter to reset.· If the counter does make it to 4 within 1 minute I want to enable an output, possibly to an opto isoloator which will go to another relay I have.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen