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-09
Revision:
56:f730962fbb53
Parent:
42:d36d216457c4
Child:
57:43f707648f2b

File content as of revision 56:f730962fbb53:

// All the definitions and variables
#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