public class HiTechnicNxtTouchSensorMultiplexer
extends LegacyModulePortDeviceImpl
Modifier and Type | Field and Description |
---|---|
static int |
INVALID |
static int[] |
MASK_MAP |
static int |
MASK_TOUCH_SENSOR_1 |
static int |
MASK_TOUCH_SENSOR_2 |
static int |
MASK_TOUCH_SENSOR_3 |
static int |
MASK_TOUCH_SENSOR_4 |
Constructor and Description |
---|
HiTechnicNxtTouchSensorMultiplexer(LegacyModule legacyModule,
int physicalPort) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getConnectionInfo() |
java.lang.String |
getDeviceName() |
Manufacturer |
getManufacturer() |
int |
getSwitches() |
int |
getVersion() |
boolean |
isTouchSensorPressed(int channel) |
protected void |
moduleNowArmedOrPretending() |
void |
resetDeviceConfigurationForOpMode() |
java.lang.String |
status() |
public static final int MASK_TOUCH_SENSOR_1
public static final int MASK_TOUCH_SENSOR_2
public static final int MASK_TOUCH_SENSOR_3
public static final int MASK_TOUCH_SENSOR_4
public static final int INVALID
public static final int[] MASK_MAP
public HiTechnicNxtTouchSensorMultiplexer(LegacyModule legacyModule, int physicalPort)
protected void moduleNowArmedOrPretending()
public java.lang.String status()
public Manufacturer getManufacturer()
public java.lang.String getDeviceName()
public java.lang.String getConnectionInfo()
public int getVersion()
public void resetDeviceConfigurationForOpMode()
public void close()
public boolean isTouchSensorPressed(int channel)
public int getSwitches()