com.buglabs.bug.base.pub
Interface IBUGBaseControl
- All Known Implementing Classes:
- BUGBaseControl
public interface IBUGBaseControl
Provides control of BUGbase LEDs.
|
Method Summary |
void |
clearLED(int index)
|
void |
clearLEDs(int leds)
clear base unit LEDs |
void |
setLED(int index)
|
void |
setLEDs(int leds)
set base unit LEDs |
HOTKEY_LED_1
static final int HOTKEY_LED_1
- See Also:
- Constant Field Values
HOTKEY_LED_2
static final int HOTKEY_LED_2
- See Also:
- Constant Field Values
HOTKEY_LED_3
static final int HOTKEY_LED_3
- See Also:
- Constant Field Values
HOTKEY_LED_4
static final int HOTKEY_LED_4
- See Also:
- Constant Field Values
clearLED
void clearLED(int index)
throws java.io.IOException
- Parameters:
index - A number between 0 and 3 specifying which LED to set.
- Throws:
java.io.IOException - when underlying native call fails.
clearLEDs
void clearLEDs(int leds)
throws java.io.IOException
- clear base unit LEDs
- Parameters:
leds - The bitmask of which LEDs to clear. Specifically,
the 4 LSBs.
- Throws:
java.io.IOException
setLED
void setLED(int index)
throws java.io.IOException
- Parameters:
index - A number between 0 and 3 specifying which LED to set.
- Throws:
java.io.IOException - when underlying native call fails.
setLEDs
void setLEDs(int leds)
throws java.io.IOException
- set base unit LEDs
- Parameters:
leds - The bitmask of which LEDs to turn on. Specifically,
the 4 LSBs.
- Throws:
java.io.IOException