![](/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
debug.cpp
- Committer:
- annesteenbeek
- Date:
- 2015-10-08
- Revision:
- 47:e493567999d7
- Parent:
- 43:4c7659ae3219
- Child:
- 50:b0cf07ca53cf
File content as of revision 47:e493567999d7:
#include "mbed.h" #include "debug.h" #include "HIDScope.h" #include "buttons.h" #include "actuators.h" #include "config.h" // all the debugging functions HIDScope scope(5); void debugProcess(){ scope.set(0, motor2Pos); scope.set(1, 300*(pot2.read()-pot1.read())); scope.set(2, motorSetSpeed2); scope.set(3, motorPWM2); scope.set(4, prevTime); scope.send(); }