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-2Lines changed: 4 additions & 2 deletions
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 to which the sketch program has requested the servo to move, regardless of whether the servo has already reached that angle.
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