|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRTransmitter
Interface for infra-red transmitters that can send bytes to an RCX
| Method Summary | |
|---|---|
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()
|
| Method Detail |
|---|
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||