Hi I have a programming problem. I want to press a button my servo to move and keep moving until the button again be oppressed.
How do I get the "servo" do not stop pressing the button.
Using the delay() function may be causing your problem. The Arduino does nothing while waiting for the delay() to elapse. Look at how to use millis() for timing in the Blink Without Delay example sketch and in the demo several things at a time