Class RCXReceiver
java.lang.Object
|
+--RCXReceiver
- public class RCXReceiver
- extends java.lang.Object
MODIFIED version of rcxdirect!!!
TAKE care with motor b = a+c
This program listens for messages from your PC. It accepts a few standard opcodes, such as
Set Motor On/Off (0x21). You should be able to control it using the RCXDirectMode GUI.
- Version:
- 0.1, 05/2002
- Author:
- Gerald Kogler
- See Also:
java-source-code,
jlegocom help docs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCXReceiver
public RCXReceiver()
readSensorValue
public static void readSensorValue(byte[] pPacket)
setMotorPower
public static void setMotorPower(byte[] pPacket)
setMotorOnOff
public static void setMotorOnOff(byte[] pPacket)
readBatteryValue
public static void readBatteryValue(byte[] pPacket)
playSound
public static void playSound(byte[] pPacket)
executePacket
public static void executePacket(byte[] pPacket)
main
public static void main(java.lang.String[] arg)