EasyVR3_LED_Library
Diff: EasyVR.h
- Revision:
- 0:8ec860bd579a
- Child:
- 1:8b8bb6ac9d11
diff -r 000000000000 -r 8ec860bd579a EasyVR.h --- /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