|
|
| LEDData (int _r, int _g, int _b) |
| |
| void | SetRGB (int r, int g, int b) |
| | A helper method to set all values of the LED. More...
|
| |
| void | SetHSV (int h, int s, int v) |
| | A helper method to set all values of the LED. More...
|
| |
|
void | SetLED (const Color &color) |
| |
|
void | SetLED (const Color8Bit &color) |
| |
|
|
uint8_t | b |
| |
|
uint8_t | g |
| |
|
uint8_t | r |
| |
|
uint8_t | padding |
| |
◆ SetHSV()
| void frc::AddressableLED::LEDData::SetHSV |
( |
int |
h, |
|
|
int |
s, |
|
|
int |
v |
|
) |
| |
A helper method to set all values of the LED.
- Parameters
-
| h | the h value [0-180] |
| s | the s value [0-255] |
| v | the v value [0-255] |
◆ SetRGB()
| void frc::AddressableLED::LEDData::SetRGB |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
|
inline |
A helper method to set all values of the LED.
- Parameters
-
| r | the r value [0-255] |
| g | the g value [0-255] |
| b | the b value [0-255] |
The documentation for this class was generated from the following file: