Grupo T / Mbed OS GRUPOT
Revision:
28:45a8ce39dd2b
Parent:
27:3bbc354adea6
Child:
29:5b181a35ca32
diff -r 3bbc354adea6 -r 45a8ce39dd2b main.cpp
--- a/main.cpp	Sun May 20 19:34:20 2018 +0000
+++ b/main.cpp	Mon May 21 17:14:19 2018 +0000
@@ -553,8 +553,8 @@
         z_dir = z_plus;
     }
     
+    linear_interpolation(x_start, y_start, x_end, y_end);
     move(ppsMax, x_dir, y_dir, z_dir, 0, 0, z_dist);
-    linear_interpolation(x_start, y_start, x_end, y_end);
 }  
             
 void automatic_run(int total_points){
@@ -705,7 +705,7 @@
                 printf("Decoding GCODE\r\n");
                 ihm_class.read_gcode(upload_buffer);
                 wait_ms(10);
-                ihm_class.action_complete();                   
+                //ihm_class.action_complete();                   
             } else if(send_saved){
                 ihm_class.sendSaved();    
             }
@@ -737,7 +737,7 @@
         }
         
         if(recv == 'u'){
-            timeoutTime = 1.0;
+            timeoutTime = 10.0;
             upload = 1;    
         }