nagaraju malla reddy palle
/
speech-to-text
speech to text converter
Revision 0:4836cf3f07cd, committed 2017-04-03
- Comitter:
- bhshruthi92
- Date:
- Mon Apr 03 23:21:56 2017 +0000
- Commit message:
- Speech to Text conversion using FRDM K64F with the help of Bluetooth Module HC 06 and an Android phone.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r 4836cf3f07cd main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Apr 03 23:21:56 2017 +0000 @@ -0,0 +1,29 @@ +#include "mbed.h" +#include <stdio.h> +#include <string.h> + +Serial pc(USBTX, USBRX); +Serial device(PTC15, PTC14); + +unsigned char recivedchar[255]; +int i; + +int main() +{ + printf("\n **********READY********** \n"); + unsigned char rx; + device.baud(9600); + while(1) + { + if(device.readable()) + { + for(i =0;i<255;i++) + { + rx = device.getc(); + recivedchar[i] =rx; + pc.printf("%c",recivedchar[i]); + break; + } + } + } +}
diff -r 000000000000 -r 4836cf3f07cd mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Apr 03 23:21:56 2017 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/mbed_official/code/mbed/builds/093f2bd7b9eb \ No newline at end of file