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