Modifier and Type | Method and Description |
---|---|
void |
backwardStep(int motor) |
void |
beep() |
void |
forwardStep(int motor) |
void |
runProgram(int programNumber) |
void |
sendBytes(byte[] data,
int len)
Send raw bytes to the RCX
|
void |
sendPacket(byte[] packet)
Send a packet of data to the RCX
|
void |
sendRemoteCommand(int msg)
Send a remote control command to the RCX
|
void |
stopAllPrograms() |
void sendBytes(byte[] data, int len)
data
- the raw datalen
- the number of bytesvoid sendPacket(byte[] packet)
packet
- void sendRemoteCommand(int msg)
msg
- the code for the remote commandvoid runProgram(int programNumber)
void forwardStep(int motor)
void backwardStep(int motor)
void beep()
void stopAllPrograms()