![](/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: serialcom.cpp
- Revision:
- 130:2542f844ba1e
- Parent:
- 129:53d23eae7a6a
--- a/serialcom.cpp Fri Oct 30 01:03:02 2015 +0100 +++ b/serialcom.cpp Fri Oct 30 10:32:49 2015 +0100 @@ -67,10 +67,10 @@ pc.printf("calReady %d\n", calReady); pc.printf("motorsEnable %d\n", motorsEnable); pc.printf("EMGCalReady %d\n", EMGCalReady); - pc.printf("Xpos %.3ld\n", Xpos); - pc.printf("Ypos %.3ld\n", Ypos); - pc.printf("motor1Pos %.3ld\n", motor1Pos); - pc.printf("motor2Pos %.3ld\n", motor2Pos); + pc.printf("Xpos %.3lf\n", Xpos); + pc.printf("Ypos %.3lf\n", Ypos); + pc.printf("motor1Pos %.3lf\n", motor1Pos); + pc.printf("motor2Pos %.3lf\n", motor2Pos); // transmit correct DOF controller if(usePotmeters){