12/16用テスト

Dependencies:   ATP3012 mbed a HMC US015_2 getGPS

Revision:
18:bd0b2394fa48
Parent:
14:3e7d563538e5
Child:
21:52f8f01a29c5
diff -r 3e7d563538e5 -r bd0b2394fa48 Function.h
--- a/Function.h	Mon Dec 13 10:07:34 2021 +0000
+++ b/Function.h	Wed Dec 15 06:17:48 2021 +0000
@@ -120,7 +120,6 @@
         delta+=360;
         }
     printf("%f-%f=%f\r\n", angle, theta, delta); 
-    wait(2);
     return delta;
 }
 
@@ -128,7 +127,7 @@
 {
     xbee.printf("calibration start\r\n");
     compass.setCalibrationMode(0x43);
-    Move('4', 0.15);
+    Move('4', 0.18);
     xbee.printf("mortor mode:4 speed:0.15\n\r");
     wait(60);
     Move('1', 0);