Dependencies:   Rectangle Servo TextLCD mbed

Fork of FollowMeBot3 by Rahul Shetty

Files at this revision

API Documentation at this revision

Comitter:
rshetty6
Date:
Sat Dec 07 04:06:40 2013 +0000
Parent:
10:d53a8ef068c0
Commit message:
Final commit

Changed in this revision

iRobot/iRobot.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d53a8ef068c0 -r 503f845d2766 iRobot/iRobot.cpp
--- a/iRobot/iRobot.cpp	Sat Dec 07 02:51:52 2013 +0000
+++ b/iRobot/iRobot.cpp	Sat Dec 07 04:06:40 2013 +0000
@@ -48,8 +48,8 @@
 // Forward  - turn on drive motors
 void iRobot::forward()
 {
-    device.printf("%c%c%c%c%c", DriveDirect, char((50>>8)&0xFF),  char(50&0xFF),
-                  char((50>>8)&0xFF),  char(50&0xFF));
+    device.printf("%c%c%c%c%c", DriveDirect, char((200>>8)&0xFF),  char(200&0xFF),
+                  char((200>>8)&0xFF),  char(200&0xFF));
 //10-speed
 }
 // Reverse - reverse drive motors