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-06
Revision:
29:e4f3455aaa0b
Parent:
28:40a931dfe840
Child:
30:a20f16bf8dda

File content as of revision 29:e4f3455aaa0b:

#include "mbed.h"
#include "EMG.h"
#include "HIDScope.h"
#include "PID.h"
#include "encoder.h"
#include "config.h"  // settings and pin configurations
#include "actuators.h"
#include "buttons.h"
#include "debug.h"


Ticker debugsend;


int main(){
motorInit(); 

//debugsend.attach(&debugProcess, 0.2);

    while (true) {
        checkSwitches();
        // readEMG();
        motorControl();
        // servoControl();
        debugProcess();
        wait(0.2f);
    }
}