![](/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: debug.cpp
- Revision:
- 5:73bfad06b775
- Parent:
- 1:80f098c05d4b
- Child:
- 14:0c0d1bfd94ea
--- a/debug.cpp Mon Oct 05 16:15:25 2015 +0200 +++ b/debug.cpp Mon Oct 05 17:35:02 2015 +0200 @@ -1,9 +1,17 @@ // all the debugging functions - -void openSerial() { - +void debugInit(){ + #include "HIDScope.h" + HIDScope scope(1); + Ticker sendScope; + sendscope.attach(&debugProcess, 1/1000); } void debugProcess(){ - + scope.set(0, motorSetSpeed1); + scope.set(1, scopevalue); + scope.set(2, scopevalue); + scope.set(3, scopevalue); + scope.set(4, scopevalue); + scope.set(5, scopevalue); + scope.send } \ No newline at end of file