Interface DCMotor

    • Method Detail

      • setPower

        void setPower​(int power)
        Set the power level 0%-100% to be applied to the motor
        Parameters:
        power - new motor power 0-100
      • getPower

        int getPower()
        Returns the current motor power setting.
        Returns:
        current power 0-100