Er is uitleg bijgeschreven en pwm_percentage heeft een andere naam

Dependencies:   Encoder HIDScope MODSERIAL mbed-dsp mbed

Fork of Lampje_EMG_Gr6 by Iris van Leeuwen

Files at this revision

API Documentation at this revision

Comitter:
jessekaiser
Date:
Thu Oct 16 13:30:53 2014 +0000
Parent:
4:40aa1fb60a24
Child:
6:8f4138a811e0
Commit message:
testen 2 emg signalen. poging 3

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Oct 16 13:29:48 2014 +0000
+++ b/main.cpp	Thu Oct 16 13:30:53 2014 +0000
@@ -139,7 +139,7 @@
         /*Empty!*/
         /*Everything is handled by the interrupt routine now!*/
         {
-            char c = '0';
+            
             while(1) {
                 pc.printf("Span de biceps aan om het instellen te starten");
                 do {
@@ -152,7 +152,7 @@
                 while(filtered_biceps > 0.04) {    //Wanneer het EMG signaal een piek geeft wordt het volgende uitgevoerd.
                     BlinkRed(20);
                     if (filtered_deltoid > 0.04){
-                        BlinkBlue(20)
+                        BlinkBlue(20);
                     } else if (filtered_biceps < 0.04 && filtered_deltoid < 0.04) {
                         break;
                     }