public class RCXRemoteMotorPort extends java.lang.Object implements BasicMotorPort
| Constructor and Description |
|---|
RCXRemoteMotorPort(RCXLink link,
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 RCXRemoteMotorPort(RCXLink link, int id)
public void controlMotor(int power,
int mode)
controlMotor in interface BasicMotorPortpublic void setPWMMode(int mode)
setPWMMode in interface BasicMotorPortpublic void close()
IOPortpublic java.lang.String getName()
IOPortpublic boolean setPinMode(int mode)
IOPortsetPinMode in interface IOPortmode - The EV3 pin mode