Add macro to convert motor speed from percentage

MOTOR_SPEED_PERCENTAGE converts a percentage to the current PWM pulse width