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-30
Revision:
130:2542f844ba1e
Parent:
124:f67ce69557db

File content as of revision 130:2542f844ba1e:

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

extern double motor1SetSpeed;
extern double motor2SetSpeed;
extern bool motorsEnable;
extern double servoPos;
extern PID motor2PID;
extern bool usePotmeters;
extern bool controlAngle;
extern bool controlDirection;

	void setPins();
	void checkSwitches();
	void setForPositions();
	void setForPID();

#endif