WPILibC++ 2024.3.2
LEDs.h File Reference
#include "hal/Types.h"

Go to the source code of this file.

Enumerations

enum  HAL_RadioLEDState : int32_t { HAL_RadioLED_kOff = 0 , HAL_RadioLED_kGreen = 1 , HAL_RadioLED_kRed = 2 , HAL_RadioLED_kOrange = 3 }
 

Functions

void HAL_SetRadioLEDState (HAL_RadioLEDState state, int32_t *status)
 Set the state of the "Radio" LED. More...
 
HAL_RadioLEDState HAL_GetRadioLEDState (int32_t *status)
 Get the state of the "Radio" LED. More...
 

Enumeration Type Documentation

◆ HAL_RadioLEDState

enum HAL_RadioLEDState : int32_t
Enumerator
HAL_RadioLED_kOff 
HAL_RadioLED_kGreen 
HAL_RadioLED_kRed 
HAL_RadioLED_kOrange 

Function Documentation

◆ HAL_GetRadioLEDState()

HAL_RadioLEDState HAL_GetRadioLEDState ( int32_t *  status)

Get the state of the "Radio" LED.

Parameters
[out]statusthe error code, or 0 for success
Returns
The state of the LED.

◆ HAL_SetRadioLEDState()

void HAL_SetRadioLEDState ( HAL_RadioLEDState  state,
int32_t *  status 
)

Set the state of the "Radio" LED.

Parameters
stateThe state to set the LED to.
[out]statusthe error code, or 0 for success