heres the code

Dependencies:   Motor Servo mbed

no such method: docs