/
ShowColorPattern
ShowColorPattern
Purpose
Display a sequence of colors on the NeoPixel.
When to use
When you want to start the pattern.
Where to use
Anywhere.
Calling this function again will stop a pattern that was already executing. Make sure to not call it repeatedly.
Returns
N/A
Main prototype and parameters
void CrcLib::ShowColorPattern(const ColorDuration colors[], bool repeat)
The following parameters must be passed to the function for it to work properly:
The sequence of colors to display
Whether to loop the pattern
Overloads
void CrcLib::ShowColorPattern(ColorPattern* pattern)
A more advanced version of the function you probably don’t need. If you want to use it, read CrcLib.h for more info.
Examples
Related articles
Content by Label
, multiple selections available,
Related content
ShowColorPattern {FR}
ShowColorPattern {FR}
More like this
SetColor
SetColor
More like this
Color
More like this
Color {FR}
Color {FR}
More like this
SetColor {FR}
SetColor {FR}
More like this
Timer
More like this