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:
55:ee5257fb73df
Parent:
52:2ac9dee099ce
Child:
56:f730962fbb53

File content as of revision 55:ee5257fb73df:

#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, pidOut);
	scope.set(1, motor2SetSpeed);
	scope.set(2, motor2PID.getOutput());
	scope.set(3, motor2PWM);
    scope.send();
}