EasyVR3_LED_Library

Revision:
0:8ec860bd579a
Child:
1:8b8bb6ac9d11
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/EasyVR.h	Thu Oct 22 19:35:17 2015 +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