in this project we command a servo motor with two buttons, when we press a button we increase the degrees and when we press the other diminish the degrees by rotating to the right or the left servo motor if we analyze the sketches and the control function that if it receives an analog signal from prev parameter greater than 1000 decreases gradservo if it receives a next parameter-analog signal more than a thousand gradservo increases with the addition of the second function if we verify that if gradservo is greater than maxservo we set gradservo same function is applied if the value is less than minservo