|
Re: Joystick Button One-Shot (a.k.a. Rising Edge) Detection
All very good advice. Thanks.
The Labview example is good ... but it's a latching toggle ... and I'm in the market for a one-shot. I could use that structure to create a one-shot, but I'd prefer a more elegant solution.
I've never used one before, but wouldn't a simple feedback node be able to help me. That is, I'd only enter into the new state case if the button is TRUE now, and was FALSE the last time thru.
I'll play with it at this afternoon's session and report back later.
Thanks again.
[edit] ... Nice one Alan! That's exactly what I was picturing in my head.
Last edited by Ziaholic : 05-02-2010 at 10:08.
Reason: ... great minds think alike!
|