|
int | CalculateRawAverageAsPct () |
|
void | Reset () |
|
byte[] | GetSensorInfo () |
| Gets the sensor info based on the mode More...
|
|
bool | Initialise (UARTMode mode) |
|
bool | SetMode (UARTMode mode) |
|
byte | ReadByte () |
|
byte[] | ReadBytes (int length) |
|
|
const int | NumberOfSensorPorts = SensorManager.NumberOfSensorPorts |
|
SensorPort | port |
|
MonoBrickFirmware.Sensors.EV3ColorSensor.EV3ColorSensor |
( |
SensorPort |
port | ) |
|
|
inline |
override string MonoBrickFirmware.Sensors.EV3ColorSensor.GetSensorName |
( |
| ) |
|
|
inlinevirtual |
override int MonoBrickFirmware.Sensors.EV3ColorSensor.NumberOfModes |
( |
| ) |
|
|
inlinevirtual |
int MonoBrickFirmware.Sensors.EV3ColorSensor.Read |
( |
| ) |
|
|
inline |
Read the intensity of the reflected or ambient light in percent. In color mode the color index is returned
override string MonoBrickFirmware.Sensors.EV3ColorSensor.ReadAsString |
( |
| ) |
|
|
inlinevirtual |
Color MonoBrickFirmware.Sensors.EV3ColorSensor.ReadColor |
( |
| ) |
|
|
inline |
Reads the color.
- Returns
- The color.
int MonoBrickFirmware.Sensors.EV3ColorSensor.ReadRaw |
( |
| ) |
|
|
inline |
Read the raw value of the reflected or ambient light. In color mode the color index is returned
- Returns
- The raw value
override string MonoBrickFirmware.Sensors.EV3ColorSensor.SelectedMode |
( |
| ) |
|
|
inlinevirtual |
override void MonoBrickFirmware.Sensors.EV3ColorSensor.SelectNextMode |
( |
| ) |
|
|
inlinevirtual |
override void MonoBrickFirmware.Sensors.EV3ColorSensor.SelectPreviousMode |
( |
| ) |
|
|
inlinevirtual |
ColorMode MonoBrickFirmware.Sensors.EV3ColorSensor.Mode |
|
getset |
Gets or sets the color mode.
The color mode.
The documentation for this class was generated from the following file:
- Sensors/EV3ColorSensor.cs