Creates a map from the pulse at zero degrees, the pulse at full travel, and the travel in degrees, whose magnitude is used.
The pulse width at full travel, in microseconds.
The pulse width at zero degrees, in microseconds.
The full travel, in degrees.
Returns the angle a pulse width sets, held to the pulse range.
Returns the pulse width for an angle, held to the travel, or 0, no pulse, for an angle that is not a number.
StaticstandardThe standard hobby servo: 1000 to 2000 microseconds over 180 degrees.
A hobby servo's pulse widths across its travel.