|
Re: Joystick button to set output
It sounds like you need an edge detector and a rising edge detector.
The attached image shows that when the Boolean values are not equal, that is an edge. Either the value went false->true or true->false. In both of these you want to change the motor speed. The Greater than node indicates it was false->true and sets the motor to 1, the other sets it to zero.
Greg McKaskle
|