control for robotic arm that can play chess using a granular gripper

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

debug.cpp

Committer:
annesteenbeek
Date:
2015-10-07
Revision:
36:6f9670eb9168
Parent:
28:40a931dfe840
Child:
37:9a9e5a21e47a

File content as of revision 36:6f9670eb9168:

#include "mbed.h"
#include "debug.h"
#include "HIDScope.h"
#include "buttons.h"
#include "actuators.h"
#include "config.h"
// all the debugging functions

HIDScope scope(3);

void debugProcess(){
    scope.set(0, motorsEnable);
	scope.set(1, actuatorState);
	scope.set(2, motorPWM2);
    scope.send();
}