|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
HELIOS_LED_FAST_FLASH
represents fast flashing (period=200ms) for Helios LEDs |
static int |
HELIOS_LED_SLOW_FLASH
represents slow flashing (period=1000ms) for Helios LEDs |
static int |
HELIOS_LED_STATE_AMBER
represents the AMBER state for a Helios LED |
static int |
HELIOS_LED_STATE_GREEN
represents the GREEN state for a Helios LED |
static int |
HELIOS_LED_STATE_OFF
represents the OFF state for a Helios LED |
static int |
HELIOS_LED_STATE_RED
represents the RED state for a Helios LED |
static int |
HELIOS_LED_STATE_TRICOLOR
represents the tricolor state for a Helios LED. |
static int |
HELIOS_SW_LED_0
represents software controlled LED0 on the Helios |
static int |
HELIOS_SW_LED_1
represents software controlled LED1 on the Helios |
static int |
HELIOS_SW_LED_2
represents software controlled LED2 on the Helios |
static int |
HELIOS_SW_LED_3
represents software controlled LED3 on the Helios |
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
void |
setAll(int ledState)
sets the state of all software controlled LEDs to a specified state |
void |
setLed(int led,
int ledState)
sets the LED state of a single LED |
void |
startBlinking(int led,
int color,
int period)
starts a specified LED blinking a certain color with a specified period |
void |
startTriColorBlinking(int led,
int period)
starts a specified LED blinking in tricolor mode with a specified period |
void |
stopBlinking(int led)
stops a specified LED from blinking. |
Field Detail |
public static final java.lang.String SERVICE_NAME
public static final int HELIOS_SW_LED_0
public static final int HELIOS_SW_LED_1
public static final int HELIOS_SW_LED_2
public static final int HELIOS_SW_LED_3
public static final int HELIOS_LED_STATE_OFF
public static final int HELIOS_LED_STATE_RED
public static final int HELIOS_LED_STATE_AMBER
public static final int HELIOS_LED_STATE_GREEN
public static final int HELIOS_LED_STATE_TRICOLOR
public static final int HELIOS_LED_FAST_FLASH
public static final int HELIOS_LED_SLOW_FLASH
Method Detail |
public void setLed(int led, int ledState) throws java.lang.Exception
led
- the LED to setledState
- the state to set it in
java.lang.Exception
- if the LED state can not be setpublic void setAll(int ledState) throws java.lang.Exception
ledState
- the LED state to set all software controlled LEDs to
java.lang.Exception
- if the LED states can not be setpublic void startBlinking(int led, int color, int period) throws java.lang.Exception
led
- the LED to start blinkingcolor
- the color to blinkperiod
- the period in milliseconds to blink. one period is a full
cycle (on and off).
java.lang.Exception
- if the blinker can not be startedpublic void startTriColorBlinking(int led, int period) throws java.lang.Exception
led
- the LED to start blinkingperiod
- the period in milliseconds to blink. one period is a full
cycle (on and off) in any given color state.
java.lang.Exception
- if the blinker can not be startedpublic void stopBlinking(int led) throws java.lang.Exception
led
- the LED to stop blinking
java.lang.Exception
- if the LED blinker can not be stopped or the LED is not
currently blinking.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |