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:
38:2c18429ad352
Parent:
37:9a9e5a21e47a
Child:
39:41635b1b11de

File content as of revision 38:2c18429ad352:

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

HIDScope scope(4);

void debugProcess(){
    scope.set(0, motorsEnable);
	scope.set(1, actuatorState);
	scope.set(2, button2.read());
	scope.set(3, a);
    scope.send();
}