control for robotic arm that can play chess using a granular gripper

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

buttons.h

Committer:
annesteenbeek
Date:
2015-10-12
Revision:
57:43f707648f2b
Parent:
54:c14c3bc48b8a
Child:
59:fe00be2cf8fd

File content as of revision 57:43f707648f2b:

#ifndef BUTTONS_H
#define BUTTONS_H
#include "PID.h"

extern float motor1SetSpeed;
extern float motor2SetSpeed;
extern bool motorsEnable;
extern float servoPos;
extern PID motor2PID;

public:
	void setPins();
	void checkSwitches();
private:
	void setForPositions();
	void setForPID();
#endif