Just to add, you can also change the number of steps per time frame the servo makes, so in your for loop, change pos += 1 to pos += 5 or something. Of course, there's a limit to this, which is the max speed of the servo.
Just to add, you can also change the number of steps per time frame the servo makes, so in your for loop, change pos += 1 to pos += 5 or something. Of course, there's a limit to this, which is the max speed of the servo.