Quote:
Originally Posted by itwasntme455
We need a servo to move in one direction when button "A" or "B" is pressed and held but only move a certain distance. Then when you release button "A" or "B" the servo will move back the same distance and stop. How do we do this?
|
You might be able to do this with a sequence structure. While button A is pressed, first move servo for X seconds, create a while loop in a new frame, re-acquire the button value, set the servo to 0, then set the loop to continue while the button is pressed.