Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
50:ec6cc79132e8
Parent:
49:7d172c133dbf
diff -r 7d172c133dbf -r ec6cc79132e8 robot.cpp
--- a/robot.cpp	Thu Apr 03 13:17:04 2014 +0000
+++ b/robot.cpp	Thu Apr 03 19:42:44 2014 +0000
@@ -588,15 +588,15 @@
     return 1;
 }
 int robot::retractCamera(){
-    cameraServo.toPosition(160);
+    cameraServo.toPosition(180);
     return 1;
 }
 int robot::farCamera(){
-    cameraServo.toPosition(90);
+    cameraServo.toPosition(85);
     return 1;
 }
 int robot::nearCamera(){
-    cameraServo.toPosition(55);
+    cameraServo.toPosition(-17);
     return 1;
 }
 int robot::downCamera(){
@@ -612,12 +612,12 @@
     return 1;
 }
 int robot::incServo(){
-    wristServo.toPosition(servoPos+=1);
+    cameraServo.toPosition(servoPos+=1);
     DBGPRINT("inc to %d\r\n",servoPos);
     return servoPos;
 }
 int robot::decServo(){
-    wristServo.toPosition(servoPos-=1);
+    cameraServo.toPosition(servoPos-=1);
     DBGPRINT("inc to %d\r\n",servoPos);
     return servoPos;
 }
\ No newline at end of file