Sille Van Landschoot / RGB-fun

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

Revision:
2:ed46f45e1d66
diff -r 04aa78b8c823 -r ed46f45e1d66 HeartBeatEffect.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/HeartBeatEffect.h	Thu Oct 08 21:43:02 2015 +0000
@@ -0,0 +1,23 @@
+
+#include "Effect.h"
+
+#ifndef HEARTBEATEFFECT_H
+#define HEARTBEATEFFECT_H
+
+class HeartBeatEffect : public Effect{
+    
+    int updown;
+    int brightness;
+    
+    void setLight(int value);
+    int saturate(int value);
+    void changeDirection();
+    
+    public:
+    
+    HeartBeatEffect(RGB* led);
+    
+    virtual void run();
+};
+
+#endif
\ No newline at end of file