control for robotic arm that can play chess using a granular gripper
Dependencies: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
Diff: buttons.cpp
- Revision:
- 18:97eeb2686a6a
- Parent:
- 17:872fcf85116d
- Child:
- 25:874675516927
diff -r 872fcf85116d -r 97eeb2686a6a buttons.cpp --- a/buttons.cpp Mon Oct 05 19:45:49 2015 +0200 +++ b/buttons.cpp Mon Oct 05 19:51:26 2015 +0200 @@ -16,7 +16,7 @@ // read servo potmeter position // read x speed potmeter position - motorSetSpeed1 = pot1.read(); + float motorSetSpeed1 = pot1.read(); // read y speed potmeter position