|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.nxt.I2CSensor
lejos.nxt.addon.RCXMotorMultiplexer
public class RCXMotorMultiplexer
Supports the mindsensors RCX Motor Multiplexer
| Field Summary | |
|---|---|
RCXMotor |
A
|
RCXMotor |
B
|
RCXMotor |
C
|
RCXMotor |
D
|
| Fields inherited from class lejos.nxt.I2CSensor |
|---|
address, BLANK, PRODUCT_ID, SENSOR_TYPE, STOP, VERSION |
| Constructor Summary | |
|---|---|
RCXMotorMultiplexer(I2CPort port)
|
|
| Method Summary | |
|---|---|
int |
getDirection(int id)
|
int |
getSpeed(int id)
|
void |
setDirection(int direction,
int id)
|
void |
setSpeed(int speed,
int id)
|
| Methods inherited from class lejos.nxt.I2CSensor |
|---|
fetchString, getData, getData, getId, getProductID, getSensorType, getVersion, sendData, sendData, setAddress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public RCXMotor A
public RCXMotor B
public RCXMotor C
public RCXMotor D
| Constructor Detail |
|---|
public RCXMotorMultiplexer(I2CPort port)
| Method Detail |
|---|
public void setSpeed(int speed,
int id)
public int getSpeed(int id)
public void setDirection(int direction,
int id)
public int getDirection(int id)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||