![](/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: buttons.cpp
- Revision:
- 12:61759f94c07a
- Parent:
- 5:73bfad06b775
- Child:
- 14:0c0d1bfd94ea
diff -r 04610a43e591 -r 61759f94c07a buttons.cpp --- a/buttons.cpp Mon Oct 05 15:59:52 2015 +0000 +++ b/buttons.cpp Mon Oct 05 16:44:52 2015 +0000 @@ -1,7 +1,7 @@ // functions for reading all the buttons and switches -void enablePins(){ - // set input/output pins - AnalogIn pot1(pot1Pin); +void setPins(){ + // set input/output pins + AnalogIn pot1(pot1Pin); }