The Arduino Reference text is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
Find anything that can be improved? Suggest corrections and new documentation via GitHub.
Doubts on how to use Github? Learn everything you need to know in this tutorial.
Read the current angle of the servo (the value passed to the last call to write()).
servo.read()
Servo
The angle of the servo, from 0 to 180 degrees.