Package edu.wpi.first.hal
Class LEDJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.LEDJNI
LED JNI Functions.
- See Also:
-
- "hal/LEDs.h"
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
LED Green state.static final int
LED Off state.static final int
LED Orange state.static final int
LED Red state. -
Method Summary
Modifier and TypeMethodDescriptionstatic int
Get the state of the "Radio" LED.static void
setRadioLEDState
(int state) Set the state of the "Radio" LED.Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad, suppressUnused
-
Field Details
-
RADIO_LED_STATE_OFF
LED Off state.- See Also:
-
RADIO_LED_STATE_GREEN
LED Green state.- See Also:
-
RADIO_LED_STATE_RED
LED Red state.- See Also:
-
RADIO_LED_STATE_ORANGE
LED Orange state.- See Also:
-
-
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"
-