FastLED 3.10.6
Loading...
Searching...
No Matches

◆ activePulseCount()

int mood_ring::MoodPainter::activePulseCount ( ) const

Definition at line 198 of file mood_painter.cpp.

198 {
199 int count = 0;
200 for (int i = 0; i < kMaxPulses; ++i) {
201 if (mPulses[i].active)
202 ++count;
203 }
204 return count;
205}
Pulse mPulses[kMaxPulses]
static const int kMaxPulses

References kMaxPulses, and mPulses.