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

File content as of revision 52:2ac9dee099ce:

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