public class RevBlinkinLedDriver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RevBlinkinLedDriver.BlinkinPattern |
Modifier and Type | Field and Description |
---|---|
protected static double |
BASE_SERVO_POSITION |
protected ServoControllerEx |
controller |
protected static int |
PATTERN_OFFSET |
protected static double |
PULSE_WIDTH_INCREMENTOR |
protected static java.lang.String |
TAG |
Constructor and Description |
---|
RevBlinkinLedDriver(ServoControllerEx controller,
int port)
RevBlinkinLedDriver
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getConnectionInfo() |
java.lang.String |
getDeviceName() |
Manufacturer |
getManufacturer() |
int |
getVersion() |
void |
resetDeviceConfigurationForOpMode() |
void |
setPattern(RevBlinkinLedDriver.BlinkinPattern pattern)
setPattern
|
protected static final java.lang.String TAG
protected static final double PULSE_WIDTH_INCREMENTOR
protected static final double BASE_SERVO_POSITION
protected static final int PATTERN_OFFSET
protected ServoControllerEx controller
public RevBlinkinLedDriver(ServoControllerEx controller, int port)
controller
- A REV servo controllerport
- the port that the driver is connected topublic void setPattern(RevBlinkinLedDriver.BlinkinPattern pattern)
pattern
- the BlinkinPattern to displaypublic Manufacturer getManufacturer()
public java.lang.String getDeviceName()
public java.lang.String getConnectionInfo()
public int getVersion()
public void resetDeviceConfigurationForOpMode()
public void close()