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

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

serialcom.h

Committer:
annesteenbeek
Date:
2015-10-29
Revision:
127:831f03471efb
Parent:
126:56866cefaa08
Child:
129:53d23eae7a6a

File content as of revision 127:831f03471efb:

#ifndef SERIALCOM_H
#define SERIALCOM_H

#include "mbed.h"
#include "PID.h"
#include "buttons.h"
#include "config.h"

extern PID motor1PID;
extern PID motor2PID;

extern DigitalOut  redLed;
extern DigitalOut  greenLed;
extern DigitalOut  blueLed;
extern bool enablePump;
extern bool startCalibration;
extern bool enableEMG;
extern bool usePotmeters;
extern bool controlAngle;
extern bool controlDirection;

void serialCom();
void serialInit();

#endif