GPS and IMU reading works

Dependencies:   mbed Servo SDFileSystem

/media/uploads/taoqiuyang/img_2352.jpg

Revision:
38:528e410f2f7d
Parent:
37:7a136279daf3
Child:
39:ef1a8055d744
--- a/main.cpp	Sat Oct 17 08:27:54 2015 +0000
+++ b/main.cpp	Sat Oct 24 06:41:00 2015 +0000
@@ -217,8 +217,10 @@
             }
         }
         pc.printf("%s\n", claim.c_str());
+    } else if(PC_data_string.substr(0,6) == "@Hello") {
+        pc.printf("Successfully connected to mbed\n");
     } else {
-        pc.printf("Not supported command");
+        pc.printf("Not supported command\n");
     }
 }
 
@@ -445,7 +447,7 @@
     //    set_servo_position(wingServo, angle, 0, 0, 180, 1);        
     //    angle=angle+10;
     
-    
+        
         wait(0.4);
         //printStateIMU();
         //printStateGPS();