icommand.nxt
Class RCXMotorMultiplexer.Motor

java.lang.Object
  extended by icommand.nxt.RCXMotorMultiplexer.Motor
Enclosing class:
RCXMotorMultiplexer

public class RCXMotorMultiplexer.Motor
extends java.lang.Object


Constructor Summary
RCXMotorMultiplexer.Motor(int port)
           
 
Method Summary
 void backward()
           
 void flt()
           
 void forward()
           
 int getSpeed()
           
 void setSpeed(int speed)
          Changes the speed to the RCX motor.
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCXMotorMultiplexer.Motor

public RCXMotorMultiplexer.Motor(int port)
Method Detail

setSpeed

public void setSpeed(int speed)
Changes the speed to the RCX motor.

Parameters:
speed - Value between 0 and 255 inclusive

getSpeed

public int getSpeed()

backward

public void backward()

flt

public void flt()

forward

public void forward()

stop

public void stop()


Copyright © 2006. All Rights Reserved.