a

Dependencies:   Locate Move Servo button mbed

Fork of 4thcomp by 涼太郎 中村

Revision:
7:43692ae2d20a
Parent:
6:931d51a70200
Child:
8:21f40f92215f
diff -r 931d51a70200 -r 43692ae2d20a main.cpp
--- a/main.cpp	Mon Sep 05 10:39:03 2016 +0000
+++ b/main.cpp	Mon Sep 05 11:08:33 2016 +0000
@@ -15,23 +15,14 @@
         pmove_to_dir(Y_PLUS, 600, 600);
         pmove_to_dir(X_MINUS, 0, 600);
         pmove_to_dir(Y_MINUS, 0, 0);
+        
+        pmove_to_dir(X_PLUS, 1200, 0);
+        pmove_to_dir(Y_PLUS, 1200, 300);
+        pmove_to_dir(X_MINUS, 0, 300);
+        pmove_to_dir(Y_MINUS, 0, 0);
+        back();
     }
-    //turn_abs_rad(PI/2);
-
     while(1) {
         update();
     }
 }
-
-
-/*
-int main(){
-    setup();
-    initmotor();
-
-    for(int i=0; i < 4; i++)
-    {
-        movelength(1200);
-        turnccw();
-    }
-}*/
\ No newline at end of file