Package lejos.robotics
Interface DCMotor
-
- All Superinterfaces:
BaseMotor
- All Known Subinterfaces:
EncoderMotor
- All Known Implementing Classes:
BasicMotor,MMXMotor,MMXRegulatedMotor,PFMateMotor,RCXMotor,TetrixEncoderMotor,TetrixMotor,TetrixRegulatedMotor,UnregulatedMotor
public interface DCMotor extends BaseMotor
Interface for a regular DC motor.- Author:
- BB
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPower()Returns the current motor power setting.voidsetPower(int power)Set the power level 0%-100% to be applied to the motor
-