Package edu.wpi.first.hal
Class LEDJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.LEDJNI
public class LEDJNI extends JNIWrapper
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static int
RADIO_LED_STATE_GREEN
static int
RADIO_LED_STATE_OFF
static int
RADIO_LED_STATE_ORANGE
static int
RADIO_LED_STATE_RED
-
Method Summary
Modifier and Type Method Description static int
getRadioLEDState()
Get the state of the "Radio" LED.static void
setRadioLEDState(int state)
Set the state of the "Radio" LED.
-
Field Details
-
RADIO_LED_STATE_OFF
- See Also:
- Constant Field Values
-
RADIO_LED_STATE_GREEN
- See Also:
- Constant Field Values
-
RADIO_LED_STATE_RED
- See Also:
- Constant Field Values
-
RADIO_LED_STATE_ORANGE
- See Also:
- Constant Field Values
-
-
Method Details
-
setRadioLEDState
Set the state of the "Radio" LED.- Parameters:
state
- The state to set the LED to.- See Also:
- "HAL_SetRadioLEDState"
-
getRadioLEDState
Get the state of the "Radio" LED.- Returns:
- The state of the LED.
- See Also:
- "HAL_GetRadioLEDState"
-