public class GyroAngleSensor extends Sensor
Constructor and Description |
---|
GyroAngleSensor()
Creates a sensor instance connected to port S1.
|
GyroAngleSensor(SensorPort port)
Creates a sensor instance connected to the given port.
|
public GyroAngleSensor(SensorPort port)
port
- the port where the sensor is plugged-inpublic GyroAngleSensor()
public int getValue()
public void reset()