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:
6:b957d8809e7c
Parent:
5:73bfad06b775
Child:
12:61759f94c07a

File content as of revision 6:b957d8809e7c:

#include "PID.h"
#include "mbed.h"
#include "encoder.h"
#include "config.h"  // settings and pin configurations

#define DEBUG // send debug data to HIDScope
#ifdef DEBUG
    dubugInit();
#endif

enablePins();
motorInit(); 

int main(){

    while (true) {
        // checkSwitches();
        // readEMG();
        motorControl();
        // servoControl();
    }
}