lejos.nxt.addon
Class RCXPlexedMotorPort

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface lejos.nxt.BasicMotorPort
PWM_BRAKE, PWM_FLOAT
 
Constructor Summary
RCXPlexedMotorPort(RCXMotorMultiplexer plex, int id)
           
 
Method Summary
 void controlMotor(int power, int mode)
           
 void setPWMMode(int mode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCXPlexedMotorPort

public RCXPlexedMotorPort(RCXMotorMultiplexer plex,
                          int id)
Method Detail

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