展示会用です

Dependencies:   VNH5019

Dependents:   Aigamozu_Robot_展示会 Aigamozu_Robot_March Aigamozu_Robot_templete

Fork of AigamozuControlPackets by aigamozu

Revision:
37:93ba352b0395
Parent:
35:b33b8b2a92b0
Child:
38:c1948f13578d
--- a/AigamozuControlPackets.cpp	Sun May 24 08:06:08 2015 +0000
+++ b/AigamozuControlPackets.cpp	Fri May 29 13:06:53 2015 +0000
@@ -189,7 +189,7 @@
     
     }
     
-void AigamozuControlPackets::test_Auto(int flag){
+void AigamozuControlPackets::control_Motor(int flag){
 
         if(flag == 0){
             _agzSheild.changeSpeed(1, 64, 1, 64); //straight
@@ -201,7 +201,7 @@
              _agzSheild.changeSpeed(1, 64, 2, 64); //Turn Right
         }   
         if(flag == 3){
-            _agzSheild.changeSpeed(0, 64, 0, 64); 
+            _agzSheild.changeSpeed(2, 64, 2, 64); 
         }
 }