Remco Dasselaar / Mbed 2 deprecated TotalControlEmg2

Dependencies:   HIDScope MODSERIAL QEI TextLCD mbed

Fork of TotalControlEmg2 by Remco Dasselaar

Revision:
51:dcbfdf3b9468
Parent:
50:16314b798754
diff -r 16314b798754 -r dcbfdf3b9468 Kalibratie.cpp
--- a/Kalibratie.cpp	Wed Oct 28 09:28:48 2015 +0000
+++ b/Kalibratie.cpp	Wed Oct 28 12:47:38 2015 +0000
@@ -15,7 +15,8 @@
             }        
         if (y > ymax && i >= samples / 10) {     //Check on maximum, not first 10 samples (offset)
             ymax = y;
-            }   
+            }
+        wait(0.05);   
         }
     return ymax;
     }
@@ -33,7 +34,8 @@
             }  
         if (y < ymin && i >= samples / 10) {    // not first 10 samples (offset)
             ymin = y;
-            }  
+            }
+        wait(0.05);  
         }
     return ymin;
 }
\ No newline at end of file