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:
12:61759f94c07a
Parent:
6:b957d8809e7c
Child:
13:4837b36b9a68

File content as of revision 12:61759f94c07a:

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


using namespace std;

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



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