control for robotic arm that can play chess using a granular gripper
Dependencies: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
Diff: actuators.cpp
- Revision:
- 60:20945383ad1b
- Parent:
- 55:ee5257fb73df
- Child:
- 61:157df6f8ceec
diff -r fe00be2cf8fd -r 20945383ad1b actuators.cpp --- a/actuators.cpp Mon Oct 12 12:16:58 2015 +0200 +++ b/actuators.cpp Mon Oct 12 11:46:05 2015 +0000 @@ -131,7 +131,7 @@ motor2Dir.write(direction2); motor1.write(abs(motor1PWM)); - motor2.write(abs(motor2PWM)); + motor2.write(abs(motor2SetSpeed)/300); } void servoControl(){