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

Revision:
4:27609b3a44ed
Parent:
3:3cdfcc4f7c9d