DualMotor(Motor &motor1, Motor &motor2)
Constructs a DualMotor object The two motors will spin in the same direction and at the same "speed".
void setSpeed(int speed) override
Sets the motor speed and direction as the percentage of the maximum possible speed,...
Interface programmatically representing any kind of motor.
virtual void setSpeed(int speed)=0
Sets the motor speed and direction as the percentage of the maximum possible speed,...