emg

Dependencies:   HIDScope MODSERIAL mbed-dsp mbed TouchButton

Fork of test by BMT M9 Groep01

Files at this revision

API Documentation at this revision

Comitter:
s1340735
Date:
Tue Oct 28 21:49:02 2014 +0000
Parent:
44:bcd0bb522bf5
Child:
46:24e350229ce8
Commit message:
nope. toch niet ;)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Oct 28 21:33:34 2014 +0000
+++ b/main.cpp	Tue Oct 28 21:49:02 2014 +0000
@@ -173,6 +173,10 @@
 
     TouchButton TButton;
 
+    myled1=1;
+    myled2=1;
+    myled3=1;
+
     int key=0;
 
     pc.printf("key 1 calibratie triceps\n");
@@ -196,6 +200,10 @@
 
             pc.printf("calibratie tricep klaar,\n");
             wait(3);
+
+            myled1=1;
+            myled2=1;
+            myled3=1;
         }
 
         if (key==2) {//duurt 26 seconden
@@ -226,6 +234,10 @@
 
             pc.printf("caliratie biceps is klaar\n");
             wait(5);
+
+            myled1=1;
+            myled2=1;
+            myled3=1;
         }
 
         if (key==3) {//duurt 34 seconden
@@ -364,6 +376,10 @@
                     }
                 }
                 wait(5);
+
+                myled1=1;
+                myled2=1;
+                myled3=1;
             }
         }