1

Dependencies:   mbed-dev_spine

Revision:
11:360230a179b9
Parent:
10:f94e325fc1e6
--- a/main.cpp	Thu Mar 12 15:17:18 2020 +0000
+++ b/main.cpp	Fri Mar 13 03:38:13 2020 +0000
@@ -75,11 +75,10 @@
             //send_enable = 0;
         }
        if(duoji_command==1)
-       {moveServo(1, duoji_control.p_des, 1000); //1s移动1号舵机至指定的位置
-          printf("Move Sucessfully1 ! \n\r");
+       {
+          moveServo(1, shouzhua_control.p_des, 1000); //1s移动1号舵机至指定的位置
+          printf("Shouzhua Move Sucessfully1 ! \n\r");
          wait(1);
-        printf("Move Sucessfully2 ! \n\r");
-           
            }
       
         //pc.printf("\n\rPpd: %f - %f\r", SP_pf, SP_df);