204{
205 uint32_t ms = millis();
208 DrawOneFrame( ms / 65536, yHueDelta32 / 32768, xHueDelta32 / 32768);
209 if( ms < 5000 ) {
211 } else {
213 }
215}
CFastLED FastLED
Global LED strip management instance.
void DrawOneFrame(uint8_t startHue8, int8_t yHueDelta8, int8_t xHueDelta8)
LIB8STATIC_ALWAYS_INLINE uint8_t scale8(uint8_t i, fract8 scale)
Scale one byte by a second one, which is treated as the numerator of a fraction whose denominator is ...
LIB8STATIC int16_t cos16(uint16_t theta)
Fast 16-bit approximation of cos(x).