You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,9 @@ void loop() {}
118
118
119
119
### `read()`
120
120
121
-
Read the current angle of the servo (the value passed to the last call to [write()](#write)).
121
+
Read the current setpoint of the servo (the angle passed to the last call to [write()](#write)).
122
+
123
+
Note that the servo has no way of reporting its current physical orientation. This method returns the angle that has been requested to the servo, whether this angle has already been reached or not.
122
124
123
125
#### Syntax
124
126
@@ -132,7 +134,7 @@ servo.read()
132
134
133
135
#### Returns
134
136
135
-
The angle of the servo, from 0 to 180 degrees.
137
+
The setpoint of the servo, as an angle from 0 to 180 degrees.
0 commit comments