control for robotic arm that can play chess using a granular gripper
Dependencies: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
serialcom.h
- Committer:
- annesteenbeek
- Date:
- 2015-10-30
- Revision:
- 130:2542f844ba1e
- Parent:
- 129:53d23eae7a6a
File content as of revision 130:2542f844ba1e:
#ifndef SERIALCOM_H #define SERIALCOM_H #include "mbed.h" #include "PID.h" #include "buttons.h" #include "config.h" #include "emg.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; extern bool enablePump; extern bool startCalibration; extern bool enableEMG; extern bool usePotmeters; extern bool controlAngle; extern bool controlDirection; extern bool calReady; extern bool motorsEnable; extern bool EMGCalReady; extern double Xpos; extern double Ypos; extern double motor1Pos; extern double motor2Pos; extern int DOF; extern int actuatorState; void serialCom(); void serialInit(); #endif