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

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

config.h

Committer:
annesteenbeek
Date:
2015-10-12
Revision:
57:43f707648f2b
Parent:
56:f730962fbb53
Child:
60:20945383ad1b

File content as of revision 57:43f707648f2b:

// All the definitions and variables
#define TUNEPID  // set to switch between normal opperation or tuning PID


#define pot2Pin A1
#define pot1Pin A0

#define button1Pin D7
#define button2Pin D6

// 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

#define pwm_frequency 50000