State Machine, bezig met mooimaken

Dependencies:   Encoder HIDScope MODSERIAL biquadFilter mbed

Fork of vanEMGnaarMOTORPauline_States_nacht by Projectgroep 20 Biorobotics

Revision:
30:b76c27e4730c
Parent:
29:69cc48b3feaa
--- a/main.cpp	Tue Nov 07 08:52:34 2017 +0000
+++ b/main.cpp	Tue Nov 07 08:54:37 2017 +0000
@@ -193,7 +193,7 @@
     
     if(Timescalibration<2000)
     {
-        pc.printf("calibration rest EMG \r\n");
+        pc.printf("calibration rest EMG, 12 seconds \r\n");
         led = 1;
         
         emgNotchLB = NFLB.step(emgLB.read() );
@@ -230,7 +230,7 @@
     }
     if(Timescalibration>2000 && Timescalibration<3000)
     {
-        pc.printf("maximum left biceps \r\n");
+        pc.printf("maximum left biceps, 6 seconds \r\n");
         led = 1;
         emgNotchLB = NFLB.step(emgLB.read() ); 
         emgHPLB = HPFLB.step(emgNotchLB);        
@@ -245,7 +245,7 @@
     
     if(Timescalibration>3000 && Timescalibration<4000)
     {
-        pc.printf(" maximum right biceps \r\n");
+        pc.printf(" maximum right biceps, 6 seconds \r\n");
         led = 0;
         emgNotchRB = NFRB.step(emgRB.read()); 
         emgHPRB = HPFRB.step(emgNotchRB); 
@@ -260,7 +260,7 @@
     
     if(Timescalibration>4000 && Timescalibration<5000)
     {
-        pc.printf("maximum left triceps \r\n");
+        pc.printf("maximum left triceps, 6 seconds \r\n");
         led = 1;
         emgNotchLT = NFLT.step(emgLT.read() );
         emgHPLT = HPFLT.step(emgNotchLT);
@@ -275,7 +275,7 @@
     
     if(Timescalibration>5000 && Timescalibration<6000)
     {
-        pc.printf("maximum right triceps");
+        pc.printf("maximum right triceps, 6 seconds \r\n");
         emgNotchRT = NFRT.step(emgRT.read() );  
         emgHPRT = HPFRT.step(emgNotchRT);       
         emgAbsHPRT = abs(emgHPRT);