CanSat2016aizu
/
motor_test
motor
Diff: main.cpp
- Revision:
- 2:b7676b0b020e
- Parent:
- 1:6ad72ace0fec
diff -r 6ad72ace0fec -r b7676b0b020e main.cpp --- a/main.cpp Tue Jul 19 03:51:28 2016 +0000 +++ b/main.cpp Fri Jul 22 07:08:05 2016 +0000 @@ -30,13 +30,13 @@ // left if(c == 'l'){ xbee.printf("l\n"); - motorShield.changeSpeed(0, 64, 1, 64); + motorShield.changeSpeed(1, 32, 1, 64); } // right if(c == 'r') { xbee.printf("r\n"); - motorShield.changeSpeed(1, 64, 0, 64); + motorShield.changeSpeed(1, 64, 1, 32); } // stop