Changed MatrixEffect to use color palettes.

This commit is contained in:
2019-06-04 05:55:24 +02:00
parent b2bc8aa75e
commit 46062945ff
4 changed files with 26 additions and 7 deletions

View File

@ -5,6 +5,7 @@
#include "Effect.h"
#include "config.h"
#include "my_fastled.h"
#include "my_color_palettes.h"
class MatrixEffectColumn {
private:

View File

@ -0,0 +1,8 @@
#pragma once
#include "my_fastled.h"
//CRGBPalette16 palette_fire;
//CRGBPalette16 palette_matrix;
extern const TProgmemRGBGradientPalette_byte palette_fire[] FL_PROGMEM;
extern const TProgmemRGBGradientPalette_byte palette_matrix[] FL_PROGMEM;