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:
98:25528494287d
Parent:
62:6c566e6f9664
Child:
99:7030e9790b1d
--- a/buttons.cpp	Thu Oct 22 07:16:59 2015 +0000
+++ b/buttons.cpp	Thu Oct 22 10:06:46 2015 +0200
@@ -121,7 +121,7 @@
         		break;
         	case 2:         		// potmeters control Servo pos
         		redLed.write(1); greenLed.write(1); blueLed.write(0);
-        		servoPos = pot2.read();
+        		serovSpeed = pot2.read();
         		break;
         }
     }else{