arduino-libraries / Servo

Servo Library for Arduino
http://arduino.cc/
GNU Lesser General Public License v2.1
257 stars 263 forks source link

Raspberry Pico Compatibility; servo read response #90

Closed PJ789 closed 2 years ago

PJ789 commented 2 years ago

When I use servo.read on a Pico, the result returned seems to be two or three degrees wrong versus the last request to servo.write.

In the Arduino documentation it states; "Read the current angle of the servo (the value passed to the last call to write())."

per1234 commented 2 years ago

Hi @PJ789. Thanks for taking the time to submit an issue.

I see we have another report about this at https://github.com/arduino-libraries/Servo/issues/65 (the library code is the same for all the Arduino Mbed OS Boards targets).

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.