public class

PWMChip

extends Object
java.lang.Object
   ↳ com.digi.android.pwm.PWMChip

Class Overview

Represents a PWM (Pulse Width Modulation) chip. A PWMChip chip holds several PWM PWM channels.

To obtain an instance of the PWM Chip you have to use the PWMManager.listPWMChips() method.

Summary

Public Methods
boolean equals(Object other)
int getIndex()
Returns the PWM chip index.
String getName()
Returns the PWM chip name.
int hashCode()
List<Integer> listChannels()
Returns the list of PWM channels available for this PWM chip.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object other)

Parameters
other Object
Returns
boolean

public int getIndex ()

Returns the PWM chip index.

Returns
int The PWM chip index.

public String getName ()

Returns the PWM chip name.

Returns
String The PWM chip name.

public int hashCode ()

Returns
int

public List<Integer> listChannels ()

Returns the list of PWM channels available for this PWM chip.

Returns
List<Integer> The list of PWM channels available for this PWM chip.

public String toString ()

Returns
String