26 lines
409 B
C++
26 lines
409 B
C++
#ifndef PLASMAMATRIX_H
|
|
#define PLASMAMATRIX_H
|
|
|
|
#include "MatrixAnimation.h"
|
|
#include "LEDHAL2D.h"
|
|
|
|
class PlasmaMatrix : public MatrixAnimation {
|
|
public:
|
|
PlasmaMatrix(LEDHAL2D* _matrix, char* _refName, long _updateTime);
|
|
|
|
virtual ~PlasmaMatrix();
|
|
|
|
void initialize();
|
|
|
|
void execute();
|
|
|
|
private:
|
|
uint16_t
|
|
paletteShift;
|
|
CRGB*
|
|
palette;
|
|
uint8_t**
|
|
plasma;
|
|
};
|
|
|
|
#endif |