2015/08/14

Dependencies:   VNH5019

Dependents:   Cansat_program4_1

Fork of cansat by Mami Yokokawa

Files at this revision

API Documentation at this revision

Comitter:
s1200058
Date:
Tue Aug 11 01:15:26 2015 +0000
Parent:
6:601cac49d4b1
Child:
8:bc3365988ee1
Commit message:
2015/08/11;

Changed in this revision

cansat.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/cansat.cpp	Mon Aug 10 18:22:25 2015 +0000
+++ b/cansat.cpp	Tue Aug 11 01:15:26 2015 +0000
@@ -21,11 +21,11 @@
             motor_command = 's';
         }
         if(flag == 2){
-             _agzSheild.changeSpeed(1, speed, 2, speed); //Turn Right
+             _agzSheild.changeSpeed(1, speed, 0, speed); //Turn Right
             motor_command = 'r';
         }           
         if(flag == 3){
-             _agzSheild.changeSpeed(2, speed, 1, speed); //Turn Right
+             _agzSheild.changeSpeed(0, speed, 1, speed); //Turn Right
             motor_command = 'l';
         }   
         if(flag == 4){