lejos.nxt.addon
Class RCXPlexedMotorPort
java.lang.Object
lejos.nxt.addon.RCXPlexedMotorPort
- All Implemented Interfaces:
- BasicMotorPort
public class RCXPlexedMotorPort
- extends Object
- implements BasicMotorPort
Supports a motor connected to the Mindsensors RCX Motor Multiplexer
- 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCXPlexedMotorPort
public RCXPlexedMotorPort(RCXMotorMultiplexer plex,
int id)
controlMotor
public void controlMotor(int power,
int mode)
- Specified by:
controlMotor in interface BasicMotorPort
setPWMMode
public void setPWMMode(int mode)
- Specified by:
setPWMMode in interface BasicMotorPort