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.
EasyVR.h
00001 #pragma once 00002 #include "mbed.h" 00003 #include "protocol.h" 00004 00005 // @author Stephane Rochon 00006 00007 class EasyVR 00008 { 00009 public: 00010 /** EasyVR use Serial communication*/ 00011 EasyVR(PinName tx,PinName rx); 00012 ~EasyVR(); 00013 00014 /** Send a command to EasyVR to excute EasyVR build in routine*/ 00015 void sendCmd(uint8_t); 00016 00017 /** Send a argument for the routine */ 00018 void sendArg(int8_t); 00019 00020 /** Receive return value from EasyVR routine */ 00021 int8_t recv(int8_t timeOut = 1); 00022 00023 /** Decrypt returned value from EasyVR */ 00024 void decrypt(char*); 00025 00026 /** Used for awake EasyVR, default time out value to 100*/ 00027 bool awake(int timeOut = 100); 00028 00029 00030 private: 00031 Serial _easyVR; 00032 };
Generated on Fri Jul 22 2022 05:31:07 by
1.7.2