8 const uint8_t
hue = this->
hue;
12 const uint8_t offset8 = (hue & 0x1F) << 3;
14 const uint8_t third = esp_scale8(offset8, 85);
15 const uint8_t two_thirds = esp_scale8(offset8, 170);
16 Color rgb(255, 255, 255, 0);
29 rgb.
r = 171 - two_thirds;
40 rgb.
g = 171 - two_thirds;
41 rgb.
b = 85 + two_thirds;
66 const uint8_t desat = 255 - sat;
67 rgb += esp_scale8(desat, desat);
Implementation of SPI Controller mode.