Package lejos.hardware.port
Interface TachoMotorPort
-
- All Superinterfaces:
java.lang.AutoCloseable,BasicMotorPort,java.io.Closeable,Encoder,IOPort
- All Known Implementing Classes:
RemoteMotorPort,RemoteNXTMotorPort,RemoteRequestMotorPort
public interface TachoMotorPort extends BasicMotorPort, Encoder
Abstraction for a motor port that supports NXT motors with tachometers.- Author:
- Lawrie Griffiths
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MotorRegulatorgetRegulator()Return the motor regulator associated with this motor port.-
Methods inherited from interface lejos.hardware.port.BasicMotorPort
controlMotor, setPWMMode
-
Methods inherited from interface lejos.robotics.Encoder
getTachoCount, resetTachoCount
-
Methods inherited from interface lejos.hardware.port.IOPort
close, getName, setPinMode
-
-
-
-
Method Detail
-
getRegulator
MotorRegulator getRegulator()
Return the motor regulator associated with this motor port.- Returns:
- the motor regulator for this port.
-
-