|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.citar.diablu.nxt.protocol.NXTCommand pt.citar.diablu.nxt.protocol.NXTCommandGetInputValues
public class NXTCommandGetInputValues
Represents the GETINPUTVALUES Command.
The response to this command (if required) is a NXTResponseInputValues
.
NXTResponseInputValues
Constructor Summary | |
---|---|
NXTCommandGetInputValues()
Constructs a new NXTCommandGetInputValues object which will read values from input port 0. |
|
NXTCommandGetInputValues(byte inputPort)
Constructs a new NXTCommandGetInputValues object with a given input port. |
Method Summary | |
---|---|
byte |
getInputPort()
Returns the input port on which we want to read values. |
void |
setInputPort(byte inputPort)
Sets the input port on which we want to read values. |
Methods inherited from class pt.citar.diablu.nxt.protocol.NXTCommand |
---|
getPacketLength, isResponseRequired, sendCommand, setResponseRequired, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NXTCommandGetInputValues()
NXTCommandGetInputValues
object which will read values from input port 0.
public NXTCommandGetInputValues(byte inputPort)
NXTCommandGetInputValues
object with a given input port.
inputPort
- The input port to read values from. Range: (0 - 3).Method Detail |
---|
public byte getInputPort()
public void setInputPort(byte inputPort)
inputPort
- The input port.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |