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

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

Revision:
106:1773bf7b95c5
Parent:
99:7030e9790b1d
Child:
107:de47331612d9
--- a/buttons.cpp	Thu Oct 22 08:51:50 2015 +0000
+++ b/buttons.cpp	Mon Oct 26 12:46:29 2015 +0100
@@ -5,8 +5,8 @@
 #include "PID.h"
 
 // functions for reading all the buttons and switches 
+AnalogIn pot1(pot1Pin);
 AnalogIn pot2(pot2Pin);
-AnalogIn pot1(pot1Pin);
 
 // Led states: 	
 // 	0 leds: motors disabled