Color and animation status for an individual LED.
More...
#include <led_subsystem.h>
|
| bool | animated {false} |
| | True indicates this is using a stock animation.
|
| |
| frc::AddressableLED::LEDData | color |
| | Color of LED. Only used when animated is false.
|
| |
Color and animation status for an individual LED.
◆ operator!=()
| bool LEDState::operator!= |
( |
const LEDState & | other | ) |
const |
It's an inequality comparison operator...
- Parameters
-
- Returns
- True when states are different
◆ operator=()
| LEDState & LEDState::operator= |
( |
const frc::AddressableLED::LEDData & | other | ) |
|
Copy assignment operator.
- Parameters
-
| other | New value to assign to self |
- Returns
- LEDState& Reference to this object after assignment
◆ operator==()
| bool LEDState::operator== |
( |
const LEDState & | other | ) |
const |
It's an equality comparison operator...
- Parameters
-
- Returns
- True when both states are equivalent
◆ animated
| bool argos_lib::LEDState::animated {false} |
True indicates this is using a stock animation.
◆ color
| frc::AddressableLED::LEDData argos_lib::LEDState::color |
Color of LED. Only used when animated is false.
The documentation for this struct was generated from the following files: