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:
- 13:582064cfb9b2
- Parent:
- 12:c9d0b1ff36f2
- Child:
- 14:168aa965b1b4
--- a/main.cpp Thu Mar 13 12:07:48 2014 +0000
+++ b/main.cpp Thu Mar 13 16:59:09 2014 +0000
@@ -51,7 +51,7 @@
static const int SERVO_YAW = 0;
static const int SERVO_PITCH = 1;
float servoPos[2];
-float servoAdj[2] = {0.03, 0.03};
+float servoAdj[2] = {0.097, 0.024}; // 0.097, 0.024
bool mCommandCompleted[2] = {true, true};
const float SERVO_SPEED_ADJ = 0.001;
@@ -115,7 +115,7 @@
timer.start();
- float range = 0.00085;
+ float range = 0.00084;
float position1 = 0.5;
float position2 = 0.5;