Super awesome programma

Dependencies:   MODSERIAL mbed

Fork of Minor_test_serial by First Last

Revision:
3:714ad7061112
Parent:
2:f3f77881e434
Child:
4:8b580d0a41ed
--- a/main.cpp	Tue Sep 11 13:47:18 2018 +0000
+++ b/main.cpp	Tue Sep 11 13:50:23 2018 +0000
@@ -8,12 +8,14 @@
 {
     myled = 1;
     char c;   
-    c = pc.getc();
+    
     myled = 0;
-    pc.printf("%c \r\n", c);
+    
 
     int i = 0;
     pc.baud(115200);
+    c = pc.getc();
+    pc.printf("%c \r\n", c);
     pc.printf("Hello World!\r\n");
     
     while (true) {