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:
38:2c18429ad352
Parent:
37:9a9e5a21e47a
Child:
39:41635b1b11de
--- a/debug.cpp	Wed Oct 07 23:21:35 2015 +0200
+++ b/debug.cpp	Wed Oct 07 23:26:59 2015 +0200
@@ -6,11 +6,12 @@
 #include "config.h"
 // all the debugging functions
 
-HIDScope scope(3);
+HIDScope scope(4);
 
 void debugProcess(){
     scope.set(0, motorsEnable);
 	scope.set(1, actuatorState);
-	scope.set(2, prevState2);
+	scope.set(2, button2.read());
+	scope.set(3, a);
     scope.send();
 }
\ No newline at end of file