2015/08/14
Dependencies: VNH5019
Fork of cansat by
Diff: cansat.cpp
- Revision:
- 7:b24799407d03
- Parent:
- 6:601cac49d4b1
- Child:
- 8:bc3365988ee1
diff -r 601cac49d4b1 -r b24799407d03 cansat.cpp --- 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){