|
FastLED 3.9.15
|
Demonstrates how to use ColorPalettes.
Definition in file ColorPalette.ino.
#include <FastLED.h>
Include dependency graph for ColorPalette.ino:Go to the source code of this file.
Macros | |
| #define | BRIGHTNESS 64 |
| #define | COLOR_ORDER GRB |
| #define | LED_PIN 5 |
| #define | LED_TYPE WS2811 |
| #define | NUM_LEDS 50 |
| #define | UPDATES_PER_SECOND 100 |
Functions | |
| void | ChangePalettePeriodically () |
| void | FillLEDsFromPaletteColors (uint8_t colorIndex) |
| void | loop () |
| void | setup () |
| void | SetupBlackAndWhiteStripedPalette () |
| void | SetupPurpleAndGreenPalette () |
| void | SetupTotallyRandomPalette () |
Variables | |
| TBlendType | currentBlending |
| CRGBPalette16 | currentPalette |
| CRGB | leds [NUM_LEDS] |
| CRGBPalette16 | myRedWhiteBluePalette |
| const TProgmemPalette16 | myRedWhiteBluePalette_p |