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
EasyVR.h@2:84f06fb95343, 2016-03-14 (annotated)
- Committer:
- ychang79
- Date:
- Mon Mar 14 23:31:18 2016 +0000
- Revision:
- 2:84f06fb95343
hello
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ychang79 | 2:84f06fb95343 | 1 | #pragma once |
| ychang79 | 2:84f06fb95343 | 2 | #include "mbed.h" |
| ychang79 | 2:84f06fb95343 | 3 | #include "protocol.h" |
| ychang79 | 2:84f06fb95343 | 4 | class EasyVR |
| ychang79 | 2:84f06fb95343 | 5 | { |
| ychang79 | 2:84f06fb95343 | 6 | public: |
| ychang79 | 2:84f06fb95343 | 7 | EasyVR(PinName tx,PinName rx); |
| ychang79 | 2:84f06fb95343 | 8 | ~EasyVR(); |
| ychang79 | 2:84f06fb95343 | 9 | |
| ychang79 | 2:84f06fb95343 | 10 | void sendCmd(uint8_t); |
| ychang79 | 2:84f06fb95343 | 11 | void sendArg(int8_t); |
| ychang79 | 2:84f06fb95343 | 12 | |
| ychang79 | 2:84f06fb95343 | 13 | int8_t recv(int8_t timeOut = 1); |
| ychang79 | 2:84f06fb95343 | 14 | void decrypt(char*); |
| ychang79 | 2:84f06fb95343 | 15 | |
| ychang79 | 2:84f06fb95343 | 16 | bool awake(int timeOut = 100); |
| ychang79 | 2:84f06fb95343 | 17 | |
| ychang79 | 2:84f06fb95343 | 18 | |
| ychang79 | 2:84f06fb95343 | 19 | private: |
| ychang79 | 2:84f06fb95343 | 20 | Serial _easyVR; |
| ychang79 | 2:84f06fb95343 | 21 | |
| ychang79 | 2:84f06fb95343 | 22 | }; |
