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.h

Committer:
annesteenbeek
Date:
2015-10-14
Revision:
62:6c566e6f9664
Parent:
59:fe00be2cf8fd
Child:
78:0cc7c64ba94c

File content as of revision 62:6c566e6f9664:

#ifndef DEBUG_H
#define DEBUG_H

#include "PID.h"
#include "mbed.h"
extern double motor2SetSpeed;
extern double motor2Speed;
extern double motor2Pos;
extern double motor2PWM;
extern bool motorsEnable;
extern int actuatorState;
extern double prevTime;

extern PID motor2PID;
extern DigitalIn button2;
extern AnalogIn pot2;
extern AnalogIn pot1;
extern double Kp, Ki, Kd;

void debugProcess();

#endif