lejos.nxt
Interface BasicMotorPort
- All Known Subinterfaces:
- TachoMotorPort
- All Known Implementing Classes:
- MotorPort, RCXPlexedMotorPort, RCXRemoteMotorPort, RemoteMotorPort
public interface BasicMotorPort
An abstraction for a motor port that supports RCX
type motors, but not NXT motors with tachometers.
- Author:
- Lawrie Griffiths.
WARNING: THIS CLASS IS SHARED BETWEEN THE classes AND pccomms PROJECTS.
DO NOT EDIT THE VERSION IN pccomms AS IT WILL BE OVERWRITTEN WHEN THE PROJECT IS BUILT.
PWM_FLOAT
static final int PWM_FLOAT
- See Also:
- Constant Field Values
PWM_BRAKE
static final int PWM_BRAKE
- See Also:
- Constant Field Values
controlMotor
void controlMotor(int power,
int mode)
setPWMMode
void setPWMMode(int mode)