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