Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 21:4c7fcbf3718c
- Parent:
- 20:548b20634fb4
- Child:
- 22:539311b65796
--- a/main.cpp Fri Mar 27 18:27:52 2015 +0000
+++ b/main.cpp Fri Mar 27 18:47:04 2015 +0000
@@ -315,10 +315,10 @@
num_of_left++;
turn_right = false;
- if (left_counter + bullshit_offset > -.35)
+ if (left_counter + bullshit_offset > -.33)
TFC_SetServo(0,left_counter + bullshit_offset ); // set turning servo
else
- TFC_SetServo(0, -.35);
+ TFC_SetServo(0, -.33);
// normalize to center each frame
// left turning is - servo