icommand.nxt
Class RCXMotorMultiplexer

java.lang.Object
  extended by icommand.nxt.I2CSensor
      extended by icommand.nxt.RCXMotorMultiplexer

public class RCXMotorMultiplexer
extends I2CSensor

MTRMX-Nx by Mindsensors.com is a motor multiplexer for RCX motors. RCXMotorMultiplexer expansion = new RCXMotorMultiplexer(Port.S1); expansion.A.forward();

Author:
BB

Nested Class Summary
 class RCXMotorMultiplexer.Motor
           
 
Field Summary
 RCXMotorMultiplexer.Motor A
           
 RCXMotorMultiplexer.Motor B
           
 RCXMotorMultiplexer.Motor C
           
 RCXMotorMultiplexer.Motor D
           
 
Fields inherited from class icommand.nxt.I2CSensor
DEFAULT_ADDRESS, PRODUCT_ID, SENSOR_TYPE, STOP, VERSION
 
Constructor Summary
RCXMotorMultiplexer(SensorPort s)
          Initializes the Multiplexer.
 
Method Summary
 byte[] getMacroData()
          Test method to retrieve macro data.
 
Methods inherited from class icommand.nxt.I2CSensor
fetchString, getData, getData, getId, getProductID, getSensorType, getVersion, sendData, sendData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A

public RCXMotorMultiplexer.Motor A

B

public RCXMotorMultiplexer.Motor B

C

public RCXMotorMultiplexer.Motor C

D

public RCXMotorMultiplexer.Motor D
Constructor Detail

RCXMotorMultiplexer

public RCXMotorMultiplexer(SensorPort s)
Initializes the Multiplexer.

Method Detail

getMacroData

public byte[] getMacroData()
Test method to retrieve macro data.

Returns:
All 175 bytes right now


Copyright 2006. All Rights Reserved.