![](/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: main.cpp
- Revision:
- 50:b0cf07ca53cf
- Parent:
- 48:3cf1eaf34926
- Child:
- 51:1e6334b993a3
--- a/main.cpp Thu Oct 08 16:26:39 2015 +0200 +++ b/main.cpp Fri Oct 09 10:49:56 2015 +0200 @@ -12,13 +12,15 @@ void debug_activate(){debug_go=true;}; void motor_activate(){motor_go=true;}; +float motorCall = 0.01; + int main(){ motorInit(); // calibrateMotors(); switches.attach(&switches_activate, 0.02f); debug.attach(&debug_activate, 0.03f); -motor.attach(&motor_activate, 0.1f); +motor.attach(&motor_activate, motorCall); while (true) { // readEMG();