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:
50:b0cf07ca53cf
Parent:
47:e493567999d7
Child:
52:2ac9dee099ce
--- a/debug.cpp	Thu Oct 08 16:26:39 2015 +0200
+++ b/debug.cpp	Fri Oct 09 10:49:56 2015 +0200
@@ -6,13 +6,12 @@
 #include "config.h"
 // all the debugging functions
 
-HIDScope scope(5);
+HIDScope scope(4);
 
 void debugProcess(){
     scope.set(0, motor2Pos);
-	scope.set(1, 300*(pot2.read()-pot1.read()));
-	scope.set(2, motorSetSpeed2);
+	scope.set(1, motorSetSpeed2);
+	scope.set(2, motorSpeed2);
 	scope.set(3, motorPWM2);
-	scope.set(4, prevTime);
     scope.send();
 }
\ No newline at end of file