Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: m3Dpi MQTT-Thermostat-example Final_project_Tran Final_project_Tran ... more
Diff: HeartBeatEffect.h
- 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