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

Different values for write() and read() #13

Open
elalemanyo opened this issue Dec 3, 2020 · 1 comment
Open

Different values for write() and read() #13

elalemanyo opened this issue Dec 3, 2020 · 1 comment
Labels

Comments

@elalemanyo
Copy link

Hi,
First of all thanks for your code.
I am starting with ESP32 and I did a small snippet to control a servo with a webpage. All works good but I add an api route to the server to read the position of the servo, and there is always a difference of 1 degree. I do for example myServo.write(90), and when I do myServo.read() I get 89, is this normal? is because of my servo?
I am using one old hitec HS-300

Thanks!

@JarekParal
Copy link
Member

It seems as rounding issue in the inside a library code. Mark this issue as a bug.

@JarekParal JarekParal added the bug label Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants