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:
42:d36d216457c4
Parent:
40:0d88aa25a57d
Child:
43:4c7659ae3219
--- a/debug.cpp	Thu Oct 08 13:03:22 2015 +0200
+++ b/debug.cpp	Thu Oct 08 13:58:54 2015 +0200
@@ -10,7 +10,7 @@
 
 void debugProcess(){
     scope.set(0, motorsEnable);
-	scope.set(1, motorSetSpeed2);
+	scope.set(1, 300*(pot2.read()-pot1.read()));
 	scope.set(2, button2.read());
     scope.send();
 }
\ No newline at end of file