Adafruit-PWM-Servo-Driver-Library icon indicating copy to clipboard operation
Adafruit-PWM-Servo-Driver-Library copied to clipboard

controlling servo speed

Open Danikanik opened this issue 5 years ago • 1 comments

Hi there! Would be awesome to add functional to control speed of servo moving to the next deg. Probably, "Servosmooth" or "Varspeedservo" libraries can help.

Thanks!

Danikanik avatar Mar 22 '20 15:03 Danikanik

You could put a loop and add a delay

for(i=0;i<=500;i++){
  pwm.setPWM(0, 0, i);
  delay(10);
}

lmk if this solved your problem :)

Rishi-k-s avatar Jul 03 '24 17:07 Rishi-k-s