ws2812-achterbahn/effect.h

19 lines
269 B
C++

#ifndef EFFECT_H
#define EFFECT_H
#include <Adafruit_NeoPixel.h>
#include <math.h>
class Effect
{
public:
Effect(){}
virtual void updateRoutine(float updatedelayms) = 0;
virtual void updateGraphics() = 0;
virtual bool active() = 0;
};
#endif