lejos.nxt
Interface BasicMotorPort
- All Known Subinterfaces:
- TachoMotorPort
- All Known Implementing Classes:
- MotorPort, PFMotorPort, 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.
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)