FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ nextPattern()

void fl::DemoReel100::nextPattern ( )
inlineprivate

Definition at line 52 of file demoreel100.h.

52 {
53 // add one to the current pattern number, and wrap around at the end
55 (current_pattern_number + 1) % 6; // 6 is the number of patterns
56 }
uint8_t current_pattern_number
Definition demoreel100.h:48

References current_pattern_number.

Referenced by draw().

+ Here is the caller graph for this function: