control for robotic arm that can play chess using a granular gripper

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

Revision:
28:40a931dfe840
Parent:
26:0a9e4147a31a
Child:
29:e4f3455aaa0b
diff -r 5eb5ec295ab2 -r 40a931dfe840 actuators.cpp
--- a/actuators.cpp	Tue Oct 06 16:45:41 2015 +0200
+++ b/actuators.cpp	Tue Oct 06 16:55:31 2015 +0200
@@ -107,7 +107,8 @@
             direction2 = true; // CW rotation
         }
         motor1.write(abs(motorPWM1));
-        motor2.write(abs(motorPWM2));
+        // motor2.write(abs(motorPWM2));
+        motor2.write(motorSetSpeed2);
 
     }else{
         // write 0 to motors