12/16用テスト

Dependencies:   ATP3012 mbed a HMC US015_2 getGPS

Revision:
21:52f8f01a29c5
Parent:
18:bd0b2394fa48
--- a/main.cpp	Wed Dec 15 06:17:48 2021 +0000
+++ b/main.cpp	Thu Dec 16 06:10:06 2021 +0000
@@ -67,7 +67,7 @@
                 direction = AngleGet();
                 xbee.printf("direction=%f\r\nrotation_start", direction);
                 while(1) {
-                    if(direction < 20 || direction > 340) {
+                    if(direction < 10 || direction > 350) {
                         xbee.printf("rotation finish\r\n");
                         Move('1', 0);   //停止
                         Move('2', 0.39);