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:
0:525558a26464
Child:
1:80f098c05d4b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Sep 28 13:54:34 2015 +0000
@@ -0,0 +1,28 @@
+#include "PID.h"
+#include "QEI.h"
+#include "MODSERIAL.h"
+#include "mbed.h"
+#include "config.h"  // settings and pin configurations
+
+
+
+#define DEBUG // send debug data to serial console
+#define ARM  // enable motors
+
+motorInit(); 
+
+int main()
+{
+    while (true) {
+        checkSwitches();
+        readEMG();
+        motorControl();
+        servoControl();
+        pumpControl();
+                
+        
+        #ifdef DEBUG
+            debugProcess();
+        #endif
+    }
+}
\ No newline at end of file