Loading [MathJax]/extensions/tex2jax.js
WPILibC++
2025.3.2
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
f
h
i
k
l
m
o
p
s
t
u
w
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
Enumerator
a
b
c
f
i
k
m
o
p
r
s
v
Related Symbols
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
a
c
e
h
m
n
p
r
s
t
u
w
Enumerator
c
h
i
m
n
p
u
w
Macros
_
a
c
d
e
f
g
h
i
j
k
l
m
n
p
r
s
t
u
v
w
x
▼
WPILibC++
LICENSE
Deprecated List
Todo List
►
Topics
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
►
cameraserver
►
debugging
►
fmt
►
frc
►
frc
►
frc
►
frc
►
frc
►
frc
►
frc2
►
frc2
►
generated
►
generated
►
generated
▼
hal
►
cpp
►
handles
►
roborio
►
simulation
►
Accelerometer.h
►
AddressableLED.h
►
AddressableLEDTypes.h
►
AnalogAccumulator.h
►
AnalogGyro.h
►
AnalogInput.h
►
AnalogOutput.h
►
AnalogTrigger.h
►
CAN.h
►
CANAPI.h
►
CANAPITypes.h
ChipObject.h
►
Constants.h
►
Counter.h
►
CTREPCM.h
►
DIO.h
►
DMA.h
►
DriverStation.h
►
DriverStationTypes.h
►
DutyCycle.h
►
Encoder.h
►
Errors.h
►
Extensions.h
HAL.h
►
HALBase.h
►
I2C.h
►
I2CTypes.h
►
Interrupts.h
►
LEDs.h
►
Main.h
►
Notifier.h
►
Ports.h
►
Power.h
►
PowerDistribution.h
►
PWM.h
►
Relay.h
►
REVPH.h
►
SerialPort.h
►
SimDevice.h
►
SPI.h
►
SPITypes.h
►
Threads.h
►
Types.h
►
Value.h
►
networktables
►
thirdparty
►
thirdparty
►
thirdparty
►
units
►
vision
►
wpi
►
wpi
►
wpi
►
wpi
►
wpi
►
wpi
►
wpi
►
wpi
►
wpimath
►
wpinet
cscore.h
►
cscore_c.h
►
cscore_cpp.h
►
cscore_cv.h
cscore_oo.h
►
cscore_raw.h
►
cscore_runloop.h
ntcore.h
►
ntcore_c.h
►
ntcore_cpp.h
►
ntcore_test.h
►
WPILibVersion.h
debugging.hpp
►
pb.h
►
pb_common.h
►
pb_decode.h
►
pb_encode.h
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
LEDs.h
Go to the documentation of this file.
1
// Copyright (c) FIRST and other WPILib contributors.
2
// Open Source Software; you can modify and/or share it under the terms of
3
// the WPILib BSD license file in the root directory of this project.
4
5
#pragma once
6
#include "
hal/Types.h
"
7
8
HAL_ENUM
(
HAL_RadioLEDState
) {
9
HAL_RadioLED_kOff
= 0,
10
HAL_RadioLED_kGreen
= 1,
11
HAL_RadioLED_kRed
= 2,
12
HAL_RadioLED_kOrange
= 3
13
};
8
HAL_ENUM
(
HAL_RadioLEDState
) {
…
};
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
/**
19
* Set the state of the "Radio" LED.
20
* @param state The state to set the LED to.
21
* @param[out] status the error code, or 0 for success
22
*/
23
void
HAL_SetRadioLEDState
(
HAL_RadioLEDState
state, int32_t* status);
24
25
/**
26
* Get the state of the "Radio" LED.
27
*
28
* @param[out] status the error code, or 0 for success
29
* @return The state of the LED.
30
*/
31
HAL_RadioLEDState
HAL_GetRadioLEDState
(int32_t* status);
32
#ifdef __cplusplus
33
}
// extern "C"
34
#endif
HAL_RadioLEDState
HAL_RadioLEDState
Definition
LEDs.h:8
HAL_RadioLED_kOff
@ HAL_RadioLED_kOff
Definition
LEDs.h:9
HAL_RadioLED_kGreen
@ HAL_RadioLED_kGreen
Definition
LEDs.h:10
HAL_RadioLED_kOrange
@ HAL_RadioLED_kOrange
Definition
LEDs.h:12
HAL_RadioLED_kRed
@ HAL_RadioLED_kRed
Definition
LEDs.h:11
HAL_GetRadioLEDState
HAL_RadioLEDState HAL_GetRadioLEDState(int32_t *status)
Get the state of the "Radio" LED.
HAL_SetRadioLEDState
void HAL_SetRadioLEDState(HAL_RadioLEDState state, int32_t *status)
Set the state of the "Radio" LED.
Types.h
HAL_ENUM
#define HAL_ENUM(name)
Definition
Types.h:76
hal
LEDs.h
Generated on Mon Mar 17 2025 23:50:33 for WPILibC++ by
1.12.0