|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object icommand.nxt.RCXMotorMultiplexer.Motor
public class RCXMotorMultiplexer.Motor
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 |
---|
public RCXMotorMultiplexer.Motor(int port)
Method Detail |
---|
public void setSpeed(int speed)
speed
- Value between 0 and 255 inclusivepublic int getSpeed()
public void backward()
public void flt()
public void forward()
public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |