![](/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:
- 106:1773bf7b95c5
- Parent:
- 99:7030e9790b1d
- Child:
- 107:de47331612d9
diff -r 222c27f55b85 -r 1773bf7b95c5 buttons.cpp --- 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