public interface ServoEx
DcMotorEx| Modifier and Type | Interface and Description |
|---|---|
static class |
ServoEx.ServoPwmRange
ServoPwmRange instances are used to specify the upper and lower pulse widths
and overall framing rate for a servo.
|
| Modifier and Type | Method and Description |
|---|---|
ServoEx.ServoPwmRange |
getPwmRange()
Returns the current PWM range limits for the servo
|
boolean |
isPwmEnabled()
Returns whether the PWM is energized for this particular servo
|
void |
setPwmDisable()
Individually denergizes the PWM for this particular servo
|
void |
setPwmEnable()
Individually energizes the PWM for this particular servo.
|
void |
setPwmRange(ServoEx.ServoPwmRange range)
Sets the PWM range limits for the servo
|
void setPwmRange(ServoEx.ServoPwmRange range)
range - the new PWM range limits for the servogetPwmRange()ServoEx.ServoPwmRange getPwmRange()
setPwmRange(ServoPwmRange)void setPwmEnable()
setPwmDisable(),
isPwmEnabled()void setPwmDisable()
setPwmEnable()boolean isPwmEnabled()
setPwmEnable()