Andres Castañeda / Mbed 2 deprecated 01-01servos

Dependencies:   mbed

Fork of 01-01SolucionFuncionXY by ferney alberto beltran molina

Revision:
1:370d6730c1cf
Parent:
0:7ba873404776
Child:
2:878cb2697ab1
--- a/main.cpp	Tue Feb 20 00:25:00 2018 +0000
+++ b/main.cpp	Tue Feb 20 00:39:23 2018 +0000
@@ -9,7 +9,14 @@
 
 void vertex2d(float x, float y){
 
-    // UBICAR EL CODIGO QUE HACE FALTA 
+    int pulseX ;
+    int pulseY ;
+
+     // UBICAR EL CODIGO QUE HACE FALTA 
+    // la funciòn como parametros  tiene las coordenadas x y y en milimetros  y
+    // debe calcular  las variables pulseX y pulseY para dar paso a la actualizaciòn 
+    // de la posiciòn de los dos servomotores
+    
     
     myServoX.pulsewidth_us(pulseX);
     myServoY.pulsewidth_us(pulseY);