![](/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:
- 62:6c566e6f9664
- Parent:
- 60:20945383ad1b
- Child:
- 98:25528494287d
diff -r 157df6f8ceec -r 6c566e6f9664 buttons.cpp --- a/buttons.cpp Tue Oct 13 18:28:39 2015 +0200 +++ b/buttons.cpp Wed Oct 14 13:52:16 2015 +0200 @@ -24,11 +24,11 @@ int actuatorState = 0; int PIDparam = 0; -float pot1Val = 0; -float pot2Val = 0; -float Kp = 1; -float Ki = 0; -float Kd = 0; +double pot1Val = 0; +double pot2Val = 0; +double Kp = 1; +double Ki = 0; +double Kd = 0; void checkSwitches(){