232{
234 uint8_t fastcycle8 = ticks;
235 uint16_t slowcycle16 = (ticks >> 8) + salt;
236 slowcycle16 +=
sin8( slowcycle16);
237 slowcycle16 = (slowcycle16 * 2053) + 1384;
238 uint8_t slowcycle8 = (slowcycle16 & 0xFF) + (slowcycle16 >> 8);
239
240 uint8_t bright = 0;
243 }
244
245 uint8_t
hue = slowcycle8 - salt;
247 if( bright > 0) {
251 }
252 } else {
254 }
255 return c;
256}
void coolLikeIncandescent(CRGB &c, uint8_t phase)
uint8_t attackDecayWave8(uint8_t i)
CRGBPalette16 gCurrentPalette
#define sin8
Platform-independent alias of the fast sin implementation.
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
Representation of an RGB pixel (Red, Green, Blue)
#define COOL_LIKE_INCANDESCENT