Daniqe Kottelenberg / Mbed 2 deprecated check_motoren_buttons

Dependencies:   MODSERIAL QEI mbed

Fork of check_motoren_buttons_emg by Daniqe Kottelenberg

Files at this revision

API Documentation at this revision

Comitter:
sivuu
Date:
Fri Sep 30 10:01:41 2016 +0000
Parent:
6:e6a048f541ee
Child:
11:757787c47d3c
Commit message:
door else statement zou die moeten uitstaan als er niks gebeurd dit gebeurd alleen niet

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Sep 30 09:33:47 2016 +0000
+++ b/main.cpp	Fri Sep 30 10:01:41 2016 +0000
@@ -64,12 +64,13 @@
            richting_motor2 = 0;
            pwm_motor2 = 1;
            wait (0.05); 
-         }     
+         }  
+         }   
     else 
     {pwm_motor2=0;
-    pwm_motor=0;
+    pwm_motor1=0;
     }              
-    }    
+      
            
 }
 }