|
M5Unit-RGB 0.0.1 git rev:55cb205
|
WRGB 32bits. More...
#include <unit_LED.hpp>
Public Member Functions | |
| constexpr | Color (const wrgb32_color_t c=0) |
| constexpr | Color (const uint8_t rr, const uint8_t gg, const uint8_t bb, const uint8_t ww=0) |
| constexpr | operator wrgb32_color_t () const |
Static Public Member Functions | |
| static Color | fromHSV (const uint8_t h, const uint8_t s, const uint8_t v) |
| Make Color from HSV. | |
Public Attributes | ||
| wrgb32_color_t | wrgb {} | |
| WRGB 32bits. | ||
| struct { | ||
| uint8_t b | ||
| Blue. | ||
| uint8_t g | ||
| Green. | ||
| uint8_t r | ||
| Red. | ||
| uint8_t w | ||
| White. | ||
| }; | ||
| uint8_t | a [4] | |
| Array. | ||
WRGB 32bits.