REV1

Dependencies:   mbed

Revision:
0:3fe66c61112d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Aug 22 19:59:54 2017 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include <string>
+
+Serial pc(SERIAL_TX, SERIAL_RX);
+
+int main() {
+    pc.baud(250000);
+    char c[5];
+    while (pc.readable()) {
+        pc.scanf("%s", &c);
+    }
+
+pc.printf(c);      
+            
+}