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:
5:73bfad06b775
Parent:
3:47c76be6d402
Child:
6:b957d8809e7c

File content as of revision 5:73bfad06b775:

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

#define DEBUG // send debug data to HIDScope

int main(){

    #ifdef DEBUG
        dubugInit();
    #endif

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