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

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

main.cpp

Committer:
annesteenbeek
Date:
2015-10-05
Revision:
15:5fa388ba22cb
Parent:
14:0c0d1bfd94ea
Child:
23:3f5d30b4784d
Child:
25:874675516927

File content as of revision 15:5fa388ba22cb:

#include "mbed.h"
#include "config.h"  // settings and pin configurations
#include "actuators.h"
#include "buttons.h"
#include "EMG.h"

//#define DEBUG // send debug data to HIDScope
#ifdef DEBUG
    #include "debug.h"
    dubugInit();
#endif



int main(){
    setPins();
    motorInit(); 
    while (true) {
        // checkSwitches();
        // readEMG();
        motorControl();
        // servoControl();
    }
}