def execute_stop(): from DRcode.app.libs.robot import Robot Robot.stop_music() frames = Robot.robot_mode('free', 121) return frames
def execute_mode(mode, num): from DRcode.app.libs.robot import Robot Robot.robot_mode(mode, num)