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:
29:e4f3455aaa0b
Parent:
28:40a931dfe840
Child:
30:a20f16bf8dda
--- a/main.cpp	Tue Oct 06 16:55:31 2015 +0200
+++ b/main.cpp	Tue Oct 06 17:55:11 2015 +0000
@@ -11,14 +11,18 @@
 
 Ticker debugsend;
 
+
 int main(){
 motorInit(); 
-debugsend.attach(&debugProcess, 0.2);
+
+//debugsend.attach(&debugProcess, 0.2);
 
     while (true) {
         checkSwitches();
         // readEMG();
         motorControl();
         // servoControl();
+        debugProcess();
+        wait(0.2f);
     }
 }
\ No newline at end of file