https://os.mbed.com/teams/Magang-KRAI-2019/code/Motor_new/#1d0887244f8b