5#define FASTLED_W2812_OVERCLOCK 1.1
7#include "fx/2d/noisepalette.hpp"
13#define LED_TYPE WS2811
14#define COLOR_ORDER GRB
16#define MATRIX_WIDTH 22
17#define MATRIX_HEIGHT 22
18#define GRID_SERPENTINE 1
20#define NUM_LEDS (MATRIX_WIDTH * MATRIX_HEIGHT)
60XYMap xyMap(MATRIX_WIDTH, MATRIX_HEIGHT, GRID_SERPENTINE);
69 noisePalette.setSpeed(SPEED);
70 noisePalette.setScale(SCALE);
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
void setBrightness(uint8_t scale)
Set the global brightness scaling.
void show(uint8_t scale)
Update all our controllers with the current led colors, using the passed in brightness.
static CLEDController & addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
void draw(DrawContext context) override
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
#define EVERY_N_MILLISECONDS(N)
Alias for EVERY_N_MILLIS.
Representation of an RGB pixel (Red, Green, Blue)