Serial try out with keypress

Dependencies:   MODSERIAL mbed

Fork of Minor_test_serial by First Last

Revision:
3:2a93e9b6b42a
Parent:
2:794c87b4a13a
--- a/main.cpp	Wed Sep 12 11:07:49 2018 +0000
+++ b/main.cpp	Wed Sep 12 11:09:56 2018 +0000
@@ -9,7 +9,7 @@
     char c;
     pc.baud(115200);
     pc.printf("Hello World!\r\n");
-    myled = 1;
+    myled = 0;
     while (true) {
         c = pc.getc();
         pc.printf("%c \r\n", c); // print the value of variable i