![](/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@130:2542f844ba1e, 2015-10-30 (annotated)
- Committer:
- annesteenbeek
- Date:
- Fri Oct 30 10:32:49 2015 +0100
- Revision:
- 130:2542f844ba1e
- Parent:
- 126:56866cefaa08
changes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
annesteenbeek | 1:80f098c05d4b | 1 | // All the definitions and variables |
annesteenbeek | 98:25528494287d | 2 | |
bjornnijhuis | 70:20e1a73ab134 | 3 | // Analog inputs for EMG |
bjornnijhuis | 70:20e1a73ab134 | 4 | #define EMG1in A0 |
bjornnijhuis | 70:20e1a73ab134 | 5 | #define EMG2in A1 |
annesteenbeek | 1:80f098c05d4b | 6 | |
bjornnijhuis | 70:20e1a73ab134 | 7 | // Analog inputs for potmeters |
bjornnijhuis | 70:20e1a73ab134 | 8 | #define pot1Pin A2 |
bjornnijhuis | 70:20e1a73ab134 | 9 | #define pot2Pin A3 |
bjornnijhuis | 70:20e1a73ab134 | 10 | |
annesteenbeek | 73:05cd0e692b74 | 11 | #define safetyPin D2 |
annesteenbeek | 73:05cd0e692b74 | 12 | |
annesteenbeek | 91:6bbbbc6643c8 | 13 | #define button1Pin D0 |
annesteenbeek | 91:6bbbbc6643c8 | 14 | #define button2Pin D1 |
annesteenbeek | 126:56866cefaa08 | 15 | #define pumpPin D3 |
annesteenbeek |
32:2006977785f5 | 16 | |
annesteenbeek | 31:8fbee6c92753 | 17 | // Servo |
bjornnijhuis | 70:20e1a73ab134 | 18 | #define servoPin D9 |
annesteenbeek | 31:8fbee6c92753 | 19 | |
annesteenbeek | 5:73bfad06b775 | 20 | // MOTORS |
bjornnijhuis | 70:20e1a73ab134 | 21 | #define motor2DirPin D4 |
bjornnijhuis | 70:20e1a73ab134 | 22 | #define motor2PWMPin D5 |
annesteenbeek | 3:47c76be6d402 | 23 | |
bjornnijhuis | 70:20e1a73ab134 | 24 | #define motor1DirPin D7 |
bjornnijhuis | 70:20e1a73ab134 | 25 | #define motor1PWMPin D6 |
annesteenbeek | 3:47c76be6d402 | 26 | |
bjornnijhuis | 70:20e1a73ab134 | 27 | #define enc1A D11 |
bjornnijhuis | 70:20e1a73ab134 | 28 | #define enc1B D10 |
bjornnijhuis | 70:20e1a73ab134 | 29 | #define enc2A D13 |
bjornnijhuis | 70:20e1a73ab134 | 30 | #define enc2B D12 |
annesteenbeek | 3:47c76be6d402 | 31 |