![](/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:
- 124:f67ce69557db
- Parent:
- 118:49605b5bd802
--- a/buttons.cpp Wed Oct 28 13:38:36 2015 +0100 +++ b/buttons.cpp Thu Oct 29 18:23:08 2015 +0100 @@ -54,7 +54,9 @@ setForPID(); // if TUNEPID is defined, use potmeters for PID tuning #endif #ifdef SETPOS + if(usePotmeters){ setForPositions(); // else use it for motor control + } #endif }