|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IHeliosLedService
| 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 |
|---|
static final java.lang.String SERVICE_NAME
static final int HELIOS_SW_LED_0
static final int HELIOS_SW_LED_1
static final int HELIOS_SW_LED_2
static final int HELIOS_SW_LED_3
static final int HELIOS_LED_STATE_OFF
static final int HELIOS_LED_STATE_RED
static final int HELIOS_LED_STATE_AMBER
static final int HELIOS_LED_STATE_GREEN
static final int HELIOS_LED_STATE_TRICOLOR
static final int HELIOS_LED_FAST_FLASH
static final int HELIOS_LED_SLOW_FLASH
| Method Detail |
|---|
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 set
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 set
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 started
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 started
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 | |||||||||