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:
37:9a9e5a21e47a
Parent:
36:6f9670eb9168
Child:
38:2c18429ad352

File content as of revision 37:9a9e5a21e47a:

#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, prevState2);
    scope.send();
}