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:
14:0c0d1bfd94ea
Parent:
13:4837b36b9a68
Child:
15:5fa388ba22cb

File content as of revision 14:0c0d1bfd94ea:

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

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



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