public class HiTechnicNxtAccelerationSensor
extends I2cControllerPortDeviceImpl
Modifier and Type | Field and Description |
---|---|
static int |
ACCEL_LENGTH |
static int |
ADDRESS_ACCEL_START |
static I2cAddr |
I2C_ADDRESS |
Constructor and Description |
---|
HiTechnicNxtAccelerationSensor(I2cController module,
int physicalPort) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
controllerNowArmedOrPretending() |
Acceleration |
getAcceleration() |
java.lang.String |
getConnectionInfo() |
java.lang.String |
getDeviceName() |
Manufacturer |
getManufacturer() |
int |
getVersion() |
void |
portIsReady(int port) |
void |
resetDeviceConfigurationForOpMode() |
java.lang.String |
status() |
java.lang.String |
toString() |
public static final I2cAddr I2C_ADDRESS
public static final int ADDRESS_ACCEL_START
public static final int ACCEL_LENGTH
public HiTechnicNxtAccelerationSensor(I2cController module, int physicalPort)
protected void controllerNowArmedOrPretending()
public java.lang.String toString()
public Acceleration getAcceleration()
public java.lang.String status()
public void portIsReady(int port)
public Manufacturer getManufacturer()
public java.lang.String getDeviceName()
public java.lang.String getConnectionInfo()
public int getVersion()
public void resetDeviceConfigurationForOpMode()
public void close()