public static class ServoEx.ServoPwmRange
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ServoEx.ServoPwmRange |
defaultRange
defaultRange is the default PWM range used
|
double |
usFrame
usFrame is the rate, in microseconds, at which the PWM is transmitted.
|
static double |
usFrameDefault
usFrameDefault is the default frame rate used, in microseconds
|
double |
usPulseLower
usPulseLower is the minimum PWM rate used, in microseconds.
|
double |
usPulseUpper
usPulseLower is the maximum PWM rate used, in microseconds.
|
Constructor and Description |
---|
ServoEx.ServoPwmRange(double usPulseLower,
double usPulseUpper)
Creates a new ServoPwmRange with the indicated lower and upper bounds and the default
framing rate.
|
ServoEx.ServoPwmRange(double usPulseLower,
double usPulseUpper,
double usFrame)
Creates a new ServoPwmRange with the indicated lower and upper bounds and the specified
framing rate.
|
public static final double usFrameDefault
public static final ServoEx.ServoPwmRange defaultRange
public final double usPulseLower
public final double usPulseUpper
public final double usFrame
public ServoEx.ServoPwmRange(double usPulseLower, double usPulseUpper)
usPulseLower
- the minimum PWM rate used, in microsecondusPulseUpper
- the maximum PWM rate used, in microsecondspublic ServoEx.ServoPwmRange(double usPulseLower, double usPulseUpper, double usFrame)
usPulseLower
- the minimum PWM rate used, in microsecondusPulseUpper
- the maximum PWM rate used, in microsecondsusFrame
- the framing rate, in microseconds