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:55:31 2015 +0200
Revision:
28:40a931dfe840
Parent:
26:0a9e4147a31a
Child:
29:e4f3455aaa0b
control DC with pot, debug with Ticker

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 28:40a931dfe840 12 Ticker debugsend;
annesteenbeek 0:525558a26464 13
annesteenbeek 5:73bfad06b775 14 int main(){
annesteenbeek 26:0a9e4147a31a 15 motorInit();
annesteenbeek 28:40a931dfe840 16 debugsend.attach(&debugProcess, 0.2);
annesteenbeek 25:874675516927 17
annesteenbeek 0:525558a26464 18 while (true) {
annesteenbeek 25:874675516927 19 checkSwitches();
annesteenbeek 3:47c76be6d402 20 // readEMG();
annesteenbeek 0:525558a26464 21 motorControl();
annesteenbeek 3:47c76be6d402 22 // servoControl();
annesteenbeek 0:525558a26464 23 }
annesteenbeek 0:525558a26464 24 }