public class IRSeekSensor extends GenericIRSensor
GenericIRSensor.IRValue| Constructor and Description |
|---|
IRSeekSensor()
Creates a sensor instance connected to port S1.
|
IRSeekSensor(SensorPort port)
Creates a sensor instance connected to the given port.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIntValue()
Polls the sensor.
|
GenericIRSensor.IRValue |
getValue()
Polls the sensor.
|
getLejosSensorgetLejosPortpublic IRSeekSensor(SensorPort port)
port - the port where the sensor is plugged-inpublic IRSeekSensor()
public GenericIRSensor.IRValue getValue()
public int getIntValue()