3 #ifndef _RAINBOW_CYCLE_
4 #define _RAINBOW_CYCLE_
25 if (m_next < millis())
27 m_next = millis() + m_wait;
30 for (
int i = 0; i < m_strip.numPixels(); i++)
32 m_strip.setPixelColor(i, wheel(((i * 256 / m_strip.numPixels()) + m_j) & 255));
34 m_strip.setBrightness(m_brightness);
46 unsigned long m_wait, m_next;
Definition: RainbowCycle.h:8
Definition: NPPattern.h:6