Hard brake rather than coast
Fork of PololuQik2 by
Diff: PololuQik2.cpp
- Revision:
- 1:df9964aaa00d
- Parent:
- 0:511d65ef1276
- Child:
- 2:25c41766d768
diff -r 511d65ef1276 -r df9964aaa00d PololuQik2.cpp --- a/PololuQik2.cpp Mon Mar 03 19:34:13 2014 +0000 +++ b/PololuQik2.cpp Fri Mar 21 22:19:23 2014 +0000 @@ -80,8 +80,8 @@ } void PololuQik2::stopBothMotors() { - setMotor0Speed(0); - setMotor1Speed(0); + setMotor0Speed(1); + setMotor1Speed(1); } void PololuQik2::sendMessage(unsigned char message[], uint8_t length) {