Jitse Giesen / Mbed 2 deprecated master

Dependencies:   biquadFilter mbed MODSERIAL

Revision:
18:7fb73aa6dbc0
Parent:
17:358e7e1213cf
Child:
19:aa1ed300be11
--- a/main.cpp	Tue Nov 07 10:51:44 2017 +0000
+++ b/main.cpp	Tue Nov 07 11:05:47 2017 +0000
@@ -1,10 +1,10 @@
-/*   ___________     ___
-    /  |    |   \   /  o\
-   /___|____|____\_/   _ >
-  /   /   |  \     _____/
-  \_ / ___|__ \ __/ 
-   /  /      \  \
-  /__/        \__\      */
+/*           ___________     ___
+            /  |    |   \   /  o\
+           /___|____|____\_/   _ >
+          /   /   |  \     _____/
+          \_ / ___|__ \ __/ 
+           /  /      \  \
+          /__/        \__\                */
 
 #include "mbed.h"
 #include "math.h"
@@ -567,15 +567,15 @@
     while(true) {
         sample_timer.attach(&EMG_sample, 0.002);
         zakken_threshold();
-        wait(2.5f); /* om te zorgen dat je niet direct na de calibratie input 
-        moet geven en om te zorgen dat de zakker de tijd heeft voor nieuwe 
-        input vragen
-       */ tellerX();
+        wait(2.5f); /*To give the user time between calibration and input, and 
+        allow the lowering to take place before new input is asked*/ 
+        tellerX();
         tellerY();
         calculator();
         controlmotor1.attach(&MotorController1, 0.01);
         controlmotor2.attach(&MotorController2, 0.01);
         controlmotor3.attach(&MotorController3, 0.01);
-        wait(4.0f); // om te zorgen dat je niet meteen tijdens t zakken nieuwe input moet geven
+        wait(4.0f); /*To allow the move in the XY-plane to finish before 
+        lowering can start*/
     }
 }
\ No newline at end of file