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.

Revisions of handServoReciever.lib

Revision Date Message Actions
1:8347f6c06e1c 2015-07-01 Second upload File  Diff  Annotate
0:9545916dfc82 2015-07-01 First upload; File  Diff  Annotate