- Examples
- TwinkleFox.ino.
Definition at line 229 of file TwinkleFox.ino.
230{
233 uint16_t slowcycle16 = (ticks >> 8) + salt;
234 slowcycle16 += sin8( slowcycle16);
235 slowcycle16 = (slowcycle16 * 2053) + 1384;
236 uint8_t slowcycle8 = (slowcycle16 & 0xFF) + (slowcycle16 >> 8);
237
241 }
242
245 if( bright > 0) {
249 }
250 } else {
252 }
253 return c;
254}
void coolLikeIncandescent(CRGB &c, uint8_t phase)
uint8_t attackDecayWave8(uint8_t i)
CRGBPalette16 gCurrentPalette
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
#define COOL_LIKE_INCANDESCENT
References attackDecayWave8(), fl::CRGB::Black, ColorFromPalette(), COOL_LIKE_INCANDESCENT, coolLikeIncandescent(), gCurrentPalette, hue, TWINKLE_DENSITY, and TWINKLE_SPEED.
Referenced by drawTwinkles().