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:
- 61:157df6f8ceec
- Parent:
- 60:20945383ad1b
- Child:
- 62:6c566e6f9664
diff -r 20945383ad1b -r 157df6f8ceec main.cpp --- a/main.cpp Mon Oct 12 11:46:05 2015 +0000 +++ b/main.cpp Tue Oct 13 18:28:39 2015 +0200 @@ -23,10 +23,9 @@ void emg_activate(){emg_go=true;}; -float motorCall = 0.1; // set motor frequency global so it can be used for speed. -int a = 4; +float motorCall = 0.01; // set motor frequency global so it can be used for speed. int main(){ -motorInit(); +motorInit(); // calibrateMotors(); switches.attach(&switches_activate, 0.02f);