![](/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
Diff: buttons.cpp
- Revision:
- 99:7030e9790b1d
- Parent:
- 98:25528494287d
- Child:
- 101:b821e89fc108
- Child:
- 106:1773bf7b95c5
diff -r 25528494287d -r 7030e9790b1d buttons.cpp --- a/buttons.cpp Thu Oct 22 10:06:46 2015 +0200 +++ b/buttons.cpp Thu Oct 22 08:16:28 2015 +0000 @@ -121,7 +121,7 @@ break; case 2: // potmeters control Servo pos redLed.write(1); greenLed.write(1); blueLed.write(0); - serovSpeed = pot2.read(); + servoSpeed = pot2.read(); break; } }else{