Ignoring an input for awhile?
Stamp 2
ver 2.5
I have a project that I must read an input that is triggered when a light comes on (through a relay).
But I must then·flash that same light that was·triggering the input (with a separate output) without retrigging the input again until the flashing is completed.
So I need to put the input "on ignore" for awhile.
Any suggestions?
·
ver 2.5
I have a project that I must read an input that is triggered when a light comes on (through a relay).
But I must then·flash that same light that was·triggering the input (with a separate output) without retrigging the input again until the flashing is completed.
So I need to put the input "on ignore" for awhile.
Any suggestions?
·
Comments
You're talking about a program that has two states. One is the normal state where it periodically checks an input and does something when the input is present. The other state is after something is done where it may check other inputs or just wait for a time before returning to the first state.
Each state is a loop in your program and your program just goes from one loop to the other and back as things happen.
But while in GOSUB y, it doesn't matter what the input state is.
Easier that I thought !
Thanks Mike!!!