Remco Dasselaar / Mbed 2 deprecated TotalControlEmg2

Dependencies:   HIDScope MODSERIAL QEI TextLCD mbed

Fork of TotalControlEmg2 by Remco Dasselaar

Revision:
21:8fe8419de3e9
Parent:
20:11e1244ad2ad
Child:
22:c1811e60bfce
--- a/main.cpp	Wed Oct 14 12:36:42 2015 +0000
+++ b/main.cpp	Wed Oct 14 14:49:47 2015 +0000
@@ -33,9 +33,9 @@
     ymax = KalibratieMax(readymax);
 
     // bepalen van thresholds voor aan/uit
-    thresholdlow = 0.2; // standaardwaarde
+    thresholdlow = 10 * ymin; // standaardwaarde
     thresholdmid = 0.5 * ymax; // afhankelijk van max output gebruiker
-    thresholdhigh = 0.9 * ymax;
+    thresholdhigh = 0.8 * ymax;
 }
 
 void EMGfilter()