|
Re: Joystick Button One-Shot (a.k.a. Rising Edge) Detection
Really frustrated!!! We are close to throwing in the towel. Alan you keep saying this is easy, but we have spent countless hours over the past two years trying to get a switch to stop a motor without any success...it may be easy for all of you in this forum but I guarantee that we are not the only ones having this issue. We have been relying on the graciousness of Chief Delphi and LVMastery to get our robot programmed.
Can anyone write and attach a sample program with ALL of the elements included.
Here is what we need:
If button 1 is pressed a motor will spin until the limit switch is closed... AND it will not keep spinning even if the button 1 is pressed...AND it will spin in the opposite direction when button 2 is pressed even if the limit switch is closed.
We're not trying to cop-out we just need to see and example to understand the thinking behind what we are trying to do.
|