public class PWMChip
extends java.lang.Object
PWMChip
chip
holds several PWM
PWM channels.
To obtain an instance of the PWM Chip you have to use the
PWMManager.listPWMChips()
method.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
DEFAULT_PREFIX |
|
static java.lang.String |
LEDS_PREFIX |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object other) |
|
int |
getIndex() |
Returns the PWM chip index.
|
java.lang.String |
getName() |
Returns the PWM chip name.
|
int |
hashCode() |
|
java.util.List<java.lang.Integer> |
listChannels() |
Returns the list of PWM channels available for this PWM chip.
|
java.lang.String |
toString() |
public static final java.lang.String DEFAULT_PREFIX
public static final java.lang.String LEDS_PREFIX
public int getIndex()
public java.lang.String getName()
public java.util.List<java.lang.Integer> listChannels()
#listPWMChips()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object