statescriptMP

Dependencies:   SMARTWAV USBDevice mbed

Revision:
0:9d97f34c6f46
diff -r 000000000000 -r 9d97f34c6f46 soundControl.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/soundControl.h	Mon May 18 01:18:45 2015 +0000
@@ -0,0 +1,30 @@
+#include "mbed.h"
+#include "SMARTWAV.h"
+#include <stdint.h>
+#include <string.h>
+#include <string>
+#include <vector>
+#include <queue>
+
+
+class soundControl {
+
+public:
+    soundControl(void);
+    void setFile(string fileNameIn);
+    void setVolume(int* volumeIn);
+    void setVolume(int volumeIn);
+    void setPlayback(bool playIn);
+    void setReset();
+    void execute();
+
+private:
+    char fileName[21];
+    bool fileNameExists;
+    int* volumePtr;
+    int volume;
+    bool play;
+    bool reset;
+    
+    
+};
\ No newline at end of file