javax.microedition.sensor
Class AccelerationChannelInfo
java.lang.Object
javax.microedition.sensor.NXTChannelInfo
javax.microedition.sensor.AccelerationChannelInfo
- All Implemented Interfaces:
- ChannelInfo
public class AccelerationChannelInfo
- extends NXTChannelInfo
ChannelInfo for acceleration channels axis_x, axis_y and axis_z
as implemented by the Mindsensors range of acceleration sensors.
- Author:
- Lawrie Griffiths
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
axes
public static final String[] axes
AccelerationChannelInfo
public AccelerationChannelInfo(String axis)
getRegister
public int getRegister()
- Description copied from class:
NXTChannelInfo
- Get the register that returns channel data for an I2C channel
- Overrides:
getRegister
in class NXTChannelInfo
- Returns:
- the register
getMeasurementRanges
public MeasurementRange[] getMeasurementRanges()
getName
public String getName()
getUnit
public Unit getUnit()
- Specified by:
getUnit
in interface ChannelInfo
- Overrides:
getUnit
in class NXTChannelInfo
getDataLength
public int getDataLength()
- Overrides:
getDataLength
in class NXTChannelInfo
getScale
public int getScale()
- Specified by:
getScale
in interface ChannelInfo
- Overrides:
getScale
in class NXTChannelInfo