How to use a timer function and monitor the inputs at the same time
Can anybody help me, I'm having a problem, I want to have a function as
follows.
I want to start a project with a start button. I want the stamp to hold
an output high for an amount of time and then make it low again.
During this timing I want to be able to read the other button for e.g. a
emergency stop. I want to be able to stop the process before it reaches
the end.
When I use the pause command, I cannot control or read anything else!
Help!
[noparse][[/noparse]Non-text portions of this message have been removed]
follows.
I want to start a project with a start button. I want the stamp to hold
an output high for an amount of time and then make it low again.
During this timing I want to be able to read the other button for e.g. a
emergency stop. I want to be able to stop the process before it reaches
the end.
When I use the pause command, I cannot control or read anything else!
Help!
[noparse][[/noparse]Non-text portions of this message have been removed]
Comments
>Can anybody help me, I'm having a problem, I want to have a function as
>follows.
>
>I want to start a project with a start button. I want the stamp to hold
>an output high for an amount of time and then make it low again.
>During this timing I want to be able to read the other button for e.g. a
>emergency stop. I want to be able to stop the process before it reaches
>the end.
>
>When I use the pause command, I cannot control or read anything else!
>
>Help!
>
>Don't use PAUSE to "waste time", use a tight loop as follows:
Loop:
' Do whatever you wish to here, and add dummy instructions, as required
GOTO Loop
>[noparse][[/noparse]Non-text portions of this message have been removed]
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
there would be a better way to do this.