motor
Revision 2:b7676b0b020e, committed 2016-07-22
- Comitter:
- s1210160
- Date:
- Fri Jul 22 07:08:05 2016 +0000
- Parent:
- 1:6ad72ace0fec
- Commit message:
- 2016/07/22
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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