Hello hope you all fine, i'm new with arduino and i have project to control a servo motor speed with 2 push buttons each on 10 steps

hello hope you all fine, I'm new with Arduino and I have project to control a servo motor speed with 2 push buttons each on 10 steps increase and decrease

Welcome to the forum

Do you have a question ?
What exactly should the sketch do ?
What have you tried so far ?
When is our assignment due to be handed in ?

And what type of "servo motor"? Most servos do not provide any way of controlling their speed, just their position.

Steve

Hi armia_nasser,
I guess you have an R/C servo. To control it, you have to send it regular calibrated pulses around 1.1 ms (1.1 millisecond), the arduino does that very well.
1.1 ms is the neutral position of the servo; a longer pulse makes the arm turn in one direction, shorter than 1.1 ms in the other direction.
To get 10 position steps, you need to send 10 pre-calibrated pulses to the servo.

Do you want to learn to program, or have a ready-made program?