Andres Castañeda / Mbed 2 deprecated Entrega

Dependencies:   mbed

Revision:
1:9430a3a15f7a
Parent:
0:4b1e8862ad53
Child:
2:e5c7ae640dfd
--- a/main.cpp	Wed Nov 14 20:37:28 2018 +0000
+++ b/main.cpp	Wed Nov 14 21:13:59 2018 +0000
@@ -208,7 +208,25 @@
                 
                //POSICION ORIGINAL
                pc.printf("POSICION ORIGINAL --%d\n",rojo);
-                 myServo2.pulsewidth_us(1800);
+               
+               myServo1.pulsewidth_us(1025);
+wait (0.5); 
+myServo2.pulsewidth_us(1711); 
+wait (0.5); 
+myServo1.pulsewidth_us(1412); 
+wait (0.5); 
+myServo7.pulsewidth_us(1025); 
+wait (0.5); 
+myServo8.pulsewidth_us(1319); 
+wait (0.5); 
+myServo7.pulsewidth_us(1417); 
+wait (0.5); 
+myServo2.pulsewidth_us(1515); 
+myServo8.pulsewidth_us(1515); 
+wait (0.5); 
+myServo3.pulsewidth_us(1221); 
+wait (0.5);
+               /*  myServo2.pulsewidth_us(1800);
                  wait(0.5);
                  myServo8.pulsewidth_us(1600);
                  wait(0.5);
@@ -217,7 +235,7 @@
                  myServo6.pulsewidth_us(1600);
                  wait(0.5);
 
-               /*  myServo1.pulsewidth_us(1200);
+               myServo1.pulsewidth_us(1200);
                  wait(0.5);
                  myServo3.pulsewidth_us(1200);
                  wait(0.5);