Making protocol to accept variable speed to motors.