lejos.nxt.addon
Class RCXRemoteMotorPort

java.lang.Object
  extended by lejos.nxt.addon.RCXRemoteMotorPort
All Implemented Interfaces:
BasicMotorPort

public class RCXRemoteMotorPort
extends Object
implements BasicMotorPort

Supports a motor connected to a remote RCX via a mindsensord NRLink adapter

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.

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

Constructor Detail

RCXRemoteMotorPort

public RCXRemoteMotorPort(RCXLink link,
                          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