- Mar 31, 2008
- 346
- 394
I have a trigger, a red light, and a green light.
The red light is on by default, but when the trigger is activated, the green light will turn on for 5 seconds, and then switch back to red.
What I want to do is.. if the trigger is continuously activated, then the green light will remain on and never switch to red, but upon the last trigger, it will go back to red after 5 seconds.
I'm stumped. If anyone can shed some light on me.. =D
The red light is on by default, but when the trigger is activated, the green light will turn on for 5 seconds, and then switch back to red.
What I want to do is.. if the trigger is continuously activated, then the green light will remain on and never switch to red, but upon the last trigger, it will go back to red after 5 seconds.
I'm stumped. If anyone can shed some light on me.. =D