Fill a range of LEDs with a solid color.
- Parameters
-
targetArray | a pointer to the LED array to fill |
numToFill | the number of LEDs to fill in the array |
color | the color to fill with |
Definition at line 16 of file fill.cpp.
17 {
18 for (int i = 0; i < numToFill; ++i) {
19 targetArray[i] = color;
20 }
21}