public static class PwmControl.PwmRange
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PwmControl.PwmRange |
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.
|
static double |
usPulseLowerDefault |
double |
usPulseUpper
usPulseLower is the maximum PWM rate used, in microseconds.
|
static double |
usPulseUpperDefault |
Constructor and Description |
---|
PwmRange(double usPulseLower,
double usPulseUpper)
Creates a new PwmRange with the indicated lower and upper bounds and the default
framing rate.
|
PwmRange(double usPulseLower,
double usPulseUpper,
double usFrame)
Creates a new PwmRange with the indicated lower and upper bounds and the specified
framing rate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public static final double usFrameDefault
public static final double usPulseUpperDefault
public static final double usPulseLowerDefault
public static final PwmControl.PwmRange defaultRange
public final double usPulseLower
public final double usPulseUpper
public final double usFrame
public PwmRange(double usPulseLower, double usPulseUpper)
usPulseLower
- the minimum PWM rate used, in microsecondusPulseUpper
- the maximum PWM rate used, in microsecondspublic PwmRange(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