ContentsIndex
PreviousUpNext
Servo
Classes | Macros

 

The Servo API enables LinkIt ONE to control a radio control (RC) servo: An RC servo has gears and a shaft and is capable of accurate control and can position its shaft at a specific angle, normally between 0 and 180 degrees. 

 

Only pins with PWM functionality (D3 and D9) can be used by Servo.

Classes
Class 
Description 
Use the servo library to enable RC servo control on a LinkIt ONE circuit board. Servo integrates gears and axes to provide accurate control.
A standard servo system positions an axis in different angles, normally between 0 and 180 degrees. A rotating servo sets the rotation of axis to different speeds continuously. 
Macros
Macro 
Description 
The default pulse width when a servo is attached. 
The flag indicating an invalid servo index. 
The longest pulse width sent to a servo. 
The shortest pulse width sent to a servo. 
The minimum time to refresh the servo in microseconds. 
The software version of this library. 
The maximum number of servos controlled by a timer. 
Links