void writeMicroseconds( int value );
void writeMicroseconds( int value );
Writes a value to servo to control the corresponding lever. Sets up the rotation angle of a standard servo motor. In terms of parameters for a standard servo: 1000 means rotating counterclockwise in full speed. 2000 means clockwise in full speed. 1500 means in the middle.
The following is extracted from Arduino's official website: For customers who do not operate following the standard method, for example by setting the response value of servo between 700 and 2300, in attempt to enlarge the limits to adjust the range of rotation. However, such operation may shorten the life of a servo and should be avoided.
|
Parameters |
Description |
|
int value |
The value of time in microseconds. |
Void.
Servo.h