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-09
Revision:
50:b0cf07ca53cf
Parent:
47:e493567999d7
Child:
52:2ac9dee099ce

File content as of revision 50:b0cf07ca53cf:

#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, motor2Pos);
	scope.set(1, motorSetSpeed2);
	scope.set(2, motorSpeed2);
	scope.set(3, motorPWM2);
    scope.send();
}