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.
Dependencies: Adafruit-16-Ch-PWM-Servo-Driver HCSR04 PID PololuQik2 QEI Sharp mbed-rtos
Revision 18:a0ea7ecaf4fe, committed 2014-04-03
- Comitter:
- tashworth
- Date:
- Thu Apr 03 22:41:24 2014 +0000
- Parent:
- 17:a5bb85ee205d
- Child:
- 19:d4d967a885dc
- Commit message:
- 4-3-2014
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Apr 03 22:05:57 2014 +0000
+++ b/main.cpp Thu Apr 03 22:41:24 2014 +0000
@@ -539,7 +539,7 @@
case AQUIRE_TOOL1:
servoPosition(PU_TOOL_1);
- setServoPulse(4, 130);
+ setServoPulse(4, 175);
wait(5);
setServoPulse(0, Arm_Table[PU_TOOL_1].base_rotate );
wait(1);
@@ -635,7 +635,7 @@
}
*/
- for(int i = 0; i < 4; i++) {
+ for(int i = 0; i < 6; i++) {
shape_detected = shapeDetection();
wait(2);
if (get_com_x() > X_CENTER) {
@@ -648,7 +648,7 @@
}
}
- setServoPulse(4, 130);
+ setServoPulse(4, 175);
wait(5);
setServoPulse(0, Arm_Table[PU_TOOL_3].base_rotate );
wait(1);