lejos.hardware.port.TachoMotorPort Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lejos-ev3-api Show documentation
Show all versions of lejos-ev3-api Show documentation
leJOS (pronounced like the Spanish word "lejos" for "far") is a tiny Java Virtual Machine. In 2013 it was ported to the LEGO EV3 brick.
The newest version!
package lejos.hardware.port;
import lejos.hardware.motor.MotorRegulator;
import lejos.robotics.Encoder;
/**
* Abstraction for a motor port that supports NXT motors with tachometers.
*
* @author Lawrie Griffiths
*
*/
public interface TachoMotorPort extends BasicMotorPort, Encoder {
/**
* Return the motor regulator associated with this motor port.
* @return the motor regulator for this port.
*/
public MotorRegulator getRegulator();
}