control for robotic arm that can play chess using a granular gripper
Dependencies: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
Diff: config.h
- Revision:
- 91:6bbbbc6643c8
- Parent:
- 78:0cc7c64ba94c
- Child:
- 93:a8898eb80edc
- Child:
- 98:25528494287d
--- a/config.h Tue Oct 20 15:07:51 2015 +0200 +++ b/config.h Wed Oct 21 10:13:10 2015 +0000 @@ -2,21 +2,20 @@ // #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 +#define button1Pin D0 +#define button2Pin D1 // Servo #define servoPin D9