Remco Dasselaar / Mbed 2 deprecated TotalControlEmg2

Dependencies:   HIDScope MODSERIAL QEI TextLCD mbed

Fork of TotalControlEmg2 by Remco Dasselaar

Revision:
24:ddd69385b55f
Parent:
22:c1811e60bfce
Child:
25:c97d079e07f3
diff -r 855c4bcb2284 -r ddd69385b55f Kalibratie.cpp
--- a/Kalibratie.cpp	Thu Oct 15 10:16:44 2015 +0000
+++ b/Kalibratie.cpp	Thu Oct 15 11:13:32 2015 +0000
@@ -21,10 +21,11 @@
     LedGreen.write(0); //Led aan
     double ymax = 0;
 
-    for(int i = 1; i <= samples; i++) { //Als timer onder de 5 seconden is dit uitvoeren
+    for(int i = 1; i <= samples; i++) { //Als timer onder de 5 seconden is dit uitvoeren        
         double u = emg2.read();
         double y = Filterdesigns(u);
         
+        
         if (y > ymax && i >= samples / 10) { //Als de gemeten waarde groter is dan de opgeslagen waarde wordt dit de nieuwe opgeslagen waarde
             ymax = y;
         }