public class RCXPlexedMotorPort extends java.lang.Object implements BasicMotorPort
Constructor and Description |
---|
RCXPlexedMotorPort(RCXMotorMultiplexer plex,
int id) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the port, the port can not be used after this call.
|
void |
controlMotor(int power,
int mode) |
java.lang.String |
getName()
Return the string representing this port
|
boolean |
setPinMode(int mode)
Set the port pins up ready for use.
|
void |
setPWMMode(int mode) |
public RCXPlexedMotorPort(RCXMotorMultiplexer plex, int id)
public void controlMotor(int power, int mode)
controlMotor
in interface BasicMotorPort
public void setPWMMode(int mode)
setPWMMode
in interface BasicMotorPort
public void close()
IOPort
public java.lang.String getName()
IOPort
public boolean setPinMode(int mode)
IOPort
setPinMode
in interface IOPort
mode
- The EV3 pin mode