Working, Clean

Dependents:   ShowItv2 ShowIt_robot_control

Fork of SignalNumber by Dustin Berendsen

Revision:
6:7f6e2d293154
Parent:
5:f3ddc3a7b292
Child:
7:893503895342
diff -r f3ddc3a7b292 -r 7f6e2d293154 signalnumber.cpp
--- a/signalnumber.cpp	Wed Nov 01 22:46:29 2017 +0000
+++ b/signalnumber.cpp	Thu Nov 02 10:17:26 2017 +0000
@@ -3,7 +3,7 @@
 
 
 //Constants for mean value
-const int n = 1500;                   //Window size for the mean value
+const int n = 500;                   //Window size for the mean value
 float emg0_filtered[n] = {}, emg2_filtered[n] = {}, emg4_filtered[n]={}; 
 int count1 = 0, count2 = 0, count3 = 0;  //Counters for the mean values
 int countx = 0, county = 0.0, countz = 0.0;     //Counters for the signalnumbers