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:
28:40a931dfe840
Parent:
26:0a9e4147a31a
Child:
29:e4f3455aaa0b
--- a/main.cpp	Tue Oct 06 16:45:41 2015 +0200
+++ b/main.cpp	Tue Oct 06 16:55:31 2015 +0200
@@ -9,15 +9,16 @@
 #include "debug.h"
 
 
+Ticker debugsend;
 
 int main(){
 motorInit(); 
+debugsend.attach(&debugProcess, 0.2);
 
     while (true) {
         checkSwitches();
         // readEMG();
         motorControl();
         // servoControl();
-        debugProcess();
     }
 }
\ No newline at end of file