That is the code i use in my project, consist in hand what is controlled by a glove with sensors flex. I will explain all the factors and the tips i use in my code.

Dependencies:   flex_sensor mbed Servo

Here we have the code of the both sides of the project, the part will control the arm and the part will move our arm.

handServoReciever.lib

Committer:
Ronjea
Date:
2015-07-01
Revision:
1:8347f6c06e1c
Parent:
0:9545916dfc82

File content as of revision 1:8347f6c06e1c:

http://developer.mbed.org/users/Ronjea/code/handServoReciever/#3c6e54cb905d