Young Chang / Mbed 2 deprecated musicplayer

Dependencies:   4DGL-uLCD-SE PinDetect SDFileSystem Speaker TextLCD mbed wave_player

Fork of musicplayer by Sarthak Jaiswal

Revision:
2:84f06fb95343
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/EasyVR.h	Mon Mar 14 23:31:18 2016 +0000
@@ -0,0 +1,22 @@
+#pragma once
+#include "mbed.h"
+#include "protocol.h"
+class EasyVR
+{
+public:
+    EasyVR(PinName tx,PinName rx);
+    ~EasyVR();
+    
+    void sendCmd(uint8_t);
+    void sendArg(int8_t);
+
+    int8_t recv(int8_t timeOut = 1);
+    void decrypt(char*);
+    
+    bool awake(int timeOut = 100);
+    
+    
+private:
+    Serial _easyVR;
+    
+};
\ No newline at end of file