control for robotic arm that can play chess using a granular gripper

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

Committer:
annesteenbeek
Date:
Tue Oct 06 16:37:07 2015 +0200
Revision:
26:0a9e4147a31a
Parent:
25:874675516927
Child:
28:40a931dfe840
enabled motor output

Who changed what in which revision?

UserRevisionLine numberNew contents of line
annesteenbeek 12:61759f94c07a 1 #include "mbed.h"
annesteenbeek 25:874675516927 2 #include "EMG.h"
annesteenbeek 25:874675516927 3 #include "HIDScope.h"
annesteenbeek 25:874675516927 4 #include "PID.h"
annesteenbeek 25:874675516927 5 #include "encoder.h"
annesteenbeek 13:4837b36b9a68 6 #include "config.h" // settings and pin configurations
annesteenbeek 13:4837b36b9a68 7 #include "actuators.h"
annesteenbeek 15:5fa388ba22cb 8 #include "buttons.h"
annesteenbeek 25:874675516927 9 #include "debug.h"
annesteenbeek 6:b957d8809e7c 10
annesteenbeek 12:61759f94c07a 11
annesteenbeek 0:525558a26464 12
annesteenbeek 5:73bfad06b775 13 int main(){
annesteenbeek 26:0a9e4147a31a 14 motorInit();
annesteenbeek 25:874675516927 15
annesteenbeek 0:525558a26464 16 while (true) {
annesteenbeek 25:874675516927 17 checkSwitches();
annesteenbeek 3:47c76be6d402 18 // readEMG();
annesteenbeek 0:525558a26464 19 motorControl();
annesteenbeek 3:47c76be6d402 20 // servoControl();
annesteenbeek 25:874675516927 21 debugProcess();
annesteenbeek 0:525558a26464 22 }
annesteenbeek 0:525558a26464 23 }