Saranya C / 4836cf3f07cd

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
saranyachitta
Date:
Tue Mar 20 04:34:35 2018 +0000
Commit message:
Speech to Text Conversion using FRDM - K64F and MIT App Inventor II

Changed in this revision

4836cf3f07cd/.hg_archival.txt Show annotated file Show diff for this revision Revisions of this file
4836cf3f07cd/main.cpp Show annotated file Show diff for this revision Revisions of this file
4836cf3f07cd/mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r d21644e32df6 4836cf3f07cd/.hg_archival.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/4836cf3f07cd/.hg_archival.txt	Tue Mar 20 04:34:35 2018 +0000
@@ -0,0 +1,6 @@
+repo: 4836cf3f07cd3edac26108b6e300ef20d6a642d9
+node: 4836cf3f07cd3edac26108b6e300ef20d6a642d9
+branch: default
+latesttag: null
+latesttagdistance: 1
+changessincelatesttag: 1
diff -r 000000000000 -r d21644e32df6 4836cf3f07cd/main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/4836cf3f07cd/main.cpp	Tue Mar 20 04:34:35 2018 +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 d21644e32df6 4836cf3f07cd/mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/4836cf3f07cd/mbed.bld	Tue Mar 20 04:34:35 2018 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/mbed/builds/093f2bd7b9eb
\ No newline at end of file