# How do I do this

**URL:** <https://forum.arduino.cc/t/how-do-i-do-this/443246>\
**Category:** Programming\
**Created:** [March 8, 2017, 8:44pm UTC](https://forum.arduino.cc/t/how-do-i-do-this/443246 "2017-03-08T20:44:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raebel](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@Raebel](https://forum.arduino.cc/u/Raebel)\
**Post date:** [March 8, 2017, 8:44pm UTC](https://forum.arduino.cc/t/how-do-i-do-this/443246/1 "2017-03-08T20:44:47Z")

</div>

Hey guys, I have small doubt which I have in adafruit servo driver library. Just like we have servo.read() in Servo.h to return the degrees of the servo, how do i perform the similar function with adafruit servo driver?

---

<div class="post-metadata">

**Author:** ![GrooveFlotilla](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grooveflotilla/32/213680_2.png) [@GrooveFlotilla](https://forum.arduino.cc/u/GrooveFlotilla)\
**Post date:** [March 8, 2017, 8:46pm UTC](https://forum.arduino.cc/t/how-do-i-do-this/443246/2 "2017-03-08T20:46:13Z")

</div>

You know what you last wrote to the servo - why do you need to read it?

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [March 8, 2017, 10:40pm UTC](https://forum.arduino.cc/t/how-do-i-do-this/443246/3 "2017-03-08T22:40:28Z")

</div>

servo.read() does not do what the function name implies. It does not (cannot) read the angle from the servo, instead it returns the most recent written to the servo. Not the same thing at all.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 5, 2021, 10:23pm UTC](https://forum.arduino.cc/t/how-do-i-do-this/443246/4 "2021-05-05T22:23:30Z")

</div>

Closed on May 5, 2021, 10:23pm UTC


