test publish

Dependencies:   mbed GroveEarbudSensor

Revision:
12:a56f9fb318de
Child:
13:879d678baf64
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Application.h	Thu Apr 14 13:06:29 2016 +0000
@@ -0,0 +1,30 @@
+#ifndef _APPLICATION_H_
+#define _APPLICATION_H_
+
+#include "GroveEarbudSensor.h"
+#include "GypsyScale.h"
+#include "MajorScale.h"
+#include "Speaker.h"
+#include "MelodyGenerator.h"
+#include "Notes.h"
+#include "GSRSensor.h"
+#include <vector>
+
+#define NBGSRVALUE 20
+
+using namespace std;
+
+class Application {
+    private :
+        GroveEarbudSensor earbud;
+        Speaker speaker;
+        GSRSensor GSRSens;
+        float thresholdHR;
+        float thresholdGSR;
+    public :
+        Application(InterruptIn* earSensorPin, AnalogIn* GSRPin, PwmOut* speakerPin);
+        void Init();
+        void Run();
+};
+
+#endif