How do you make a servo stay at 10 degrees and then after a certain amount of time move it back to 0 degress.
For example I want my servo to move to 10 degrees and then after 60 seconds move back to 0 degrees?
How do you make a servo stay at 10 degrees and then after a certain amount of time move it back to 0 degress.
For example I want my servo to move to 10 degrees and then after 60 seconds move back to 0 degrees?
Have you tried the Servo library?
The lazy way is just to use delay() between the servo.write() commands, but the better way would be to use the idea used in Blink Without Delay.