simple RGB led library

Dependents:   m3Dpi MQTT-Thermostat-example Final_project_Tran Final_project_Tran ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers EffectManager.h Source File

EffectManager.h

00001 
00002 #ifndef EFFECTMANAGER_H
00003 #define EFFECTMANAGER_H
00004 
00005 #include "Effect.h"
00006 #include "effects/CycleEffect.h"
00007 #include "effects/PoliceEffect.h"
00008 #include "effects/HeartBeatEffect.h"
00009 
00010 class EffectManager
00011 {
00012 
00013     RGB* led;
00014     Effect* effect;
00015 
00016     int effectIndex;
00017 
00018 public:
00019     EffectManager(RGB* led);
00020     virtual ~EffectManager();
00021 
00022     void run();
00023     void next();
00024 
00025 };
00026 
00027 #endif