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:
59:fe00be2cf8fd
Parent:
57:43f707648f2b
Child:
62:6c566e6f9664

File content as of revision 59:fe00be2cf8fd:

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

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

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

#endif