use servo motor with "for"

Dependencies:   mbed

no such method: tip