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-06
Revision:
27:5eb5ec295ab2
Parent:
26:0a9e4147a31a
Child:
28:40a931dfe840

File content as of revision 27:5eb5ec295ab2:

#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, motorSetSpeed1);
	scope.set(1, motorSpeed2);
	scope.set(2, motorPWM2);
    scope.send();
    wait(0.2f);
}