-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Can't control a servo once detach()ed (2.0.0-rc2) #1133
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
Comments
I have the same problem. I want to detach while the device is asleep. |
/cc @Makuna |
I will investigate. |
@kotobuki I am unsure if the servo library you are references above is even supported on ESP. The Servo library that works with ESP is part of the ESP Arduino package. Thanks, I will be looking at it today. |
I have a fix and will get a pull out for it as soon as I can slay this GIT dragon that is stopping me from publishing a branch on my fork of this depot. |
pro us a time after detach and use this myservo.attach(9); |
@geekmustafa Commenting on a closed issue is not a good practice. If there is an issue you are having that is related to this, create a new issue and reference this one. General questions are best asked on the gitter channel. |
The following code works as expected with my Arduino Uno board, but doesn't work with my ESP8266 based board. Once a servo is detached, the code can't control the servo anymore. According to the Library Manager, the version of the Servo library is 1.1.0.
The text was updated successfully, but these errors were encountered: