Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

controlling servo speed #76

Open
Danikanik opened this issue Mar 22, 2020 · 1 comment
Open

controlling servo speed #76

Danikanik opened this issue Mar 22, 2020 · 1 comment

Comments

@Danikanik
Copy link

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!

@Rishi-k-s
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants