backup

Dependencies:   HIDScope MODSERIAL Motordriver QEI Servo mbed

Fork of The_Claw_with_EMG_Control by Meike Froklage

Revision:
4:e62a2df0a5b5
Parent:
3:3a671d01bcb8
Child:
5:3d88f7506cd9
--- a/main.cpp	Wed Oct 19 13:13:13 2016 +0000
+++ b/main.cpp	Wed Oct 19 14:03:19 2016 +0000
@@ -35,8 +35,8 @@
 int sign; //prevents throwing the motor from full foward to full reverse and stuff melting.
 
 //Motor
-Motor A(D6, D7, D7, Brakeable); // pwm, fwd, rev, brake                 rechts
-Motor B(D5, D4, D4, Brakeable); // pwm, fwd, rev, brake                 links
+Motor A(D6, D7, D7, Brakeable); // pwm, fwd, rev, brake                 (right)
+Motor B(D5, D4, D4, Brakeable); // pwm, fwd, rev, brake                 (left)
 
 
 
@@ -149,7 +149,7 @@
     InterruptIn btn_arm(D3);
     btn_arm.fall(&SetValue3);
 
-    InterruptIn btn_arm(D4);
+    InterruptIn btn_claw(D4);
     btn_claw.fall(&SetValue4);
 
     while (true);