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