Motor_brake included photoelectricencoder debugged