MatrixEffect now uses dynamically allocated memory.

This commit is contained in:
2019-06-15 14:17:06 +02:00
parent 02b3bbcea8
commit b65afde142
2 changed files with 13 additions and 3 deletions

View File

@ -30,9 +30,11 @@ public:
class MatrixEffect : public Effect {
private:
MatrixEffectColumn columns[LED_WIDTH];
MatrixEffectColumn* _columns;
public:
boolean can_be_shown_with_clock();
void start();
void stop();
MatrixEffect();
void loop();
};