角度調整用のプログラムです。 (モータードライバー+磁気センサー)

Dependencies:   ATP3012 mbed a HMC US015_2 getGPS

Revision:
2:83023bafb526
Parent:
1:f70beec382b6
--- a/Function.h	Fri Dec 03 08:22:57 2021 +0000
+++ b/Function.h	Tue Dec 14 07:13:21 2021 +0000
@@ -123,9 +123,9 @@
 {
     xbee.printf("calibration start\r\n");
     compass.setCalibrationMode(0x43);
-    Move('4', 0.15);
+    Move('4', 0.17);
     xbee.printf("mortor mode:4 speed:0.1\n\r");
-    wait(180);
+    wait(60);
     Move('1', 0);
     xbee.printf("mortor mode:1 speed:0\n\r");
     compass.setCalibrationMode(0x45);