Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE PinDetect SDFileSystem Speaker TextLCD mbed wave_player
Fork of musicplayer by
Diff: EasyVR.h
- 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
