![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
control for robotic arm that can play chess using a granular gripper
Dependencies: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
config.h
- Committer:
- annesteenbeek
- Date:
- 2015-10-20
- Revision:
- 86:a5f48ae7096e
- Parent:
- 78:0cc7c64ba94c
- Child:
- 88:dd198c58f053
File content as of revision 86:a5f48ae7096e:
// All the definitions and variables // #define TUNEPID // set to switch between normal opperation or tuning PID // #define TUNEEMG // set hdiscope for EMG #define TUNEPWM // set hidscope for rest // Analog inputs for EMG #define EMG1in A0 #define EMG2in A1 #define startPin PTC6 // Analog inputs for potmeters #define pot1Pin A2 #define pot2Pin A3 #define safetyPin D2 #define button1Pin D7 #define button2Pin D6 #define button3Pin PTC6 #define led1Pin D5 // Servo #define servoPin D9 // MOTORS #define motor2DirPin D4 #define motor2PWMPin D5 #define motor1DirPin D7 #define motor1PWMPin D6 #define enc1A D11 #define enc1B D10 #define enc2A D13 #define enc2B D12 // Motor control constants #define pwm_frequency 50000