de.jaetzold.art.platform.lego
Class RCX.BooleanConversionValueDefinition
java.lang.Object
|
+--de.jaetzold.art.platform.lego.RCX.PollSensorValueDefinition
|
+--de.jaetzold.art.platform.lego.RCX.BooleanConversionValueDefinition
- All Implemented Interfaces:
- RCX.SensorValueDefinition
- Enclosing class:
- RCX
- protected class RCX.BooleanConversionValueDefinition
- extends RCX.PollSensorValueDefinition
Definition for the standard booleanconversion of the RCX. Instead of configuring the sensor to boolean and then polling the regular value, the source for the standard boolean converion, which exists for every sensor type, is used.
However, the sensor is configured to be a touch-sensor, but that should cause no problems if this is changed later.
RCX.BooleanConversionValueDefinition
public RCX.BooleanConversionValueDefinition(byte argument)
getConfigurePackets
public byte[][] getConfigurePackets()
- Overrides:
getConfigurePackets
in class RCX.PollSensorValueDefinition