updated wait_ms(ms) to thread_sleep_for(ms) for Mbed OS 6

no such method: docs