javax.microedition.sensor
Class ColorRGBChannelInfo
java.lang.Object
javax.microedition.sensor.NXTChannelInfo
javax.microedition.sensor.ColorRGBChannelInfo
- All Implemented Interfaces:
- ChannelInfo
public class ColorRGBChannelInfo
- extends NXTChannelInfo
ChannelInfo for color channels rgb_r, rgb_g and rgb_b
as implemented by the MHiTechnic color sensor
- Author:
- Lawrie Griffiths
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rgb
public static final String[] rgb
ColorRGBChannelInfo
public ColorRGBChannelInfo(String color)
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()