3 #ifndef _RAINBOW_CHASE_
4 #define _RAINBOW_CHASE_
26 if (m_next < millis())
28 m_next = millis() + m_wait;
33 for (uint16_t i = 0; i < m_strip.numPixels(); i += 3)
35 m_strip.setPixelColor(i + m_q, 0);
36 m_strip.setPixelColor((i + m_q + 1) % m_strip.numPixels(), wheel((i + m_j) % 255));
38 m_strip.setBrightness(m_brightness);
57 unsigned long m_wait, m_next;
Definition: RainbowChase.h:8
Definition: NPPattern.h:6