#include <frc/AddressableLED.h>
|
| uint8_t | b |
| | blue value
|
| |
| uint8_t | g |
| | green value
|
| |
| uint8_t | r |
| | red value
|
| |
| uint8_t | padding |
| |
◆ LEDData() [1/2]
| frc::AddressableLED::LEDData::LEDData |
( |
| ) |
|
|
inline |
◆ LEDData() [2/2]
| frc::AddressableLED::LEDData::LEDData |
( |
int | _r, |
|
|
int | _g, |
|
|
int | _b ) |
|
inline |
◆ 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] |
◆ SetLED() [1/2]
| void frc::AddressableLED::LEDData::SetLED |
( |
const Color & | color | ) |
|
|
inline |
◆ SetLED() [2/2]
| void frc::AddressableLED::LEDData::SetLED |
( |
const Color8Bit & | color | ) |
|
|
inline |
◆ 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: