ESPectro32 Library
Library for using ESPectro32 board
|
Public Member Functions | |
RgbLedColor_t (uint8_t ir, uint8_t ig, uint8_t ib) __attribute__((always_inline)) | |
RgbLedColor_t (uint32_t colorcode) __attribute__((always_inline)) | |
void | setColor (uint32_t colorcode) |
bool | operator== (const RgbLedColor_t &c) const |
RgbLedColor_t | sum (RgbLedColor_t color) |
RgbLedColor_t | interpolate (RgbLedColor_t color, float x) |
RgbLedColor_t | scale (float k) |
Public Attributes | |
union { | |
struct { | |
uint8_t red | |
uint8_t green | |
uint8_t blue | |
} | |
uint8_t raw [3] | |
}; | |