HiTechnic color sensor
More...
|
|
const int | BufferSize = 30 |
| |
|
void | Reset () |
| |
|
void | SetMode () |
| |
|
bool | Initialise () |
| |
| byte[] | ReadRegister (byte register) |
| | Reads a 8 byte register from the sensor More...
|
| |
| byte[] | ReadRegister (byte register, byte rxLength) |
| | Reads a register from the sensor More...
|
| |
| void | WriteRegister (byte register, byte data) |
| | Writes a byte to a register. More...
|
| |
|
void | WriteRegister (byte register, byte[] data) |
| |
| byte[] | WriteAndRead (byte register, byte[] data, int rxLength) |
| | Write and read an array of bytes to the sensor More...
|
| |
|
byte | I2CAddress = 0x00 |
| |
|
const int | NumberOfSensorPorts = SensorManager.NumberOfSensorPorts |
| |
|
SensorPort | port |
| |
|
I2CMode | mode |
| |
|
UARTMode | uartMode [get, set] |
| |
|
SensorPort | Port [get] |
| |
| MonoBrickFirmware.Sensors.HiTecColorSensor.HiTecColorSensor |
( |
SensorPort |
port | ) |
|
|
inline |
Initializes a new instance of the MonoBrick.NXT.HiTecColor class.
| override string MonoBrickFirmware.Sensors.HiTecColorSensor.GetSensorName |
( |
| ) |
|
|
inlinevirtual |
| override int MonoBrickFirmware.Sensors.HiTecColorSensor.NumberOfModes |
( |
| ) |
|
|
inlinevirtual |
| override string MonoBrickFirmware.Sensors.HiTecColorSensor.ReadAsString |
( |
| ) |
|
|
inlinevirtual |
| int MonoBrickFirmware.Sensors.HiTecColorSensor.ReadColorIndex |
( |
| ) |
|
|
inline |
| RGBColor MonoBrickFirmware.Sensors.HiTecColorSensor.ReadNormalizedRGBColor |
( |
| ) |
|
|
inline |
Reads the normalized RGB colors
- Returns
- The normalized RGB colors
| RGBColor MonoBrickFirmware.Sensors.HiTecColorSensor.ReadRGBColor |
( |
| ) |
|
|
inline |
Reads the RGB colors.
- Returns
- The RGB colors
| override string MonoBrickFirmware.Sensors.HiTecColorSensor.SelectedMode |
( |
| ) |
|
|
inlinevirtual |
| override void MonoBrickFirmware.Sensors.HiTecColorSensor.SelectNextMode |
( |
| ) |
|
|
inlinevirtual |
| override void MonoBrickFirmware.Sensors.HiTecColorSensor.SelectPreviousMode |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: