MonoBrick EV3 Firmware
|
Interface for a sensor More...
Public Member Functions | |
string | ReadAsString () |
Reads the sensor value as a string. More... | |
string | GetSensorName () |
Gets the name of the sensor. More... | |
void | SelectNextMode () |
Selects the next mode. More... | |
void | SelectPreviousMode () |
Selects the previous mode. More... | |
int | NumberOfModes () |
Numbers the of modes. More... | |
string | SelectedMode () |
.m.-, More... | |
Properties | |
SensorPort | Port [get] |
Sensor port More... | |
Interface for a sensor
string MonoBrickFirmware.Sensors.ISensor.GetSensorName | ( | ) |
Gets the name of the sensor.
Implemented in MonoBrickFirmware.Sensors.NXTColorSensor, MonoBrickFirmware.Sensors.NXTUltraSonicSensor, MonoBrickFirmware.Sensors.EV3IRSensor, MonoBrickFirmware.Sensors.I2CSensor, MonoBrickFirmware.Sensors.EV3ColorSensor, MonoBrickFirmware.Sensors.HiTecTiltSensor, MonoBrickFirmware.Sensors.EV3GyroSensor, MonoBrickFirmware.Sensors.AnalogSensor, MonoBrickFirmware.Sensors.NXTSoundSensor, MonoBrickFirmware.Sensors.NXTLightSensor, MonoBrickFirmware.Sensors.EV3UltrasonicSensor, MonoBrickFirmware.Sensors.HiTecColorSensor, MonoBrickFirmware.Sensors.UartSensor, MonoBrickFirmware.Sensors.EV3TouchSensor, MonoBrickFirmware.Sensors.NXTTouchSensor, MonoBrickFirmware.Sensors.HiTecGyroSensor, and MonoBrickFirmware.Sensors.HiTecCompassSensor.
int MonoBrickFirmware.Sensors.ISensor.NumberOfModes | ( | ) |
Numbers the of modes.
Implemented in MonoBrickFirmware.Sensors.NXTColorSensor, MonoBrickFirmware.Sensors.NXTUltraSonicSensor, MonoBrickFirmware.Sensors.EV3IRSensor, MonoBrickFirmware.Sensors.I2CSensor, MonoBrickFirmware.Sensors.EV3ColorSensor, MonoBrickFirmware.Sensors.EV3GyroSensor, MonoBrickFirmware.Sensors.HiTecTiltSensor, MonoBrickFirmware.Sensors.NXTSoundSensor, MonoBrickFirmware.Sensors.AnalogSensor, MonoBrickFirmware.Sensors.NXTLightSensor, MonoBrickFirmware.Sensors.EV3UltrasonicSensor, MonoBrickFirmware.Sensors.HiTecColorSensor, MonoBrickFirmware.Sensors.EV3TouchSensor, MonoBrickFirmware.Sensors.NXTTouchSensor, MonoBrickFirmware.Sensors.HiTecGyroSensor, MonoBrickFirmware.Sensors.UartSensor, and MonoBrickFirmware.Sensors.HiTecCompassSensor.
string MonoBrickFirmware.Sensors.ISensor.ReadAsString | ( | ) |
Reads the sensor value as a string.
Implemented in MonoBrickFirmware.Sensors.NXTUltraSonicSensor, MonoBrickFirmware.Sensors.I2CSensor, MonoBrickFirmware.Sensors.NXTColorSensor, MonoBrickFirmware.Sensors.HiTecTiltSensor, MonoBrickFirmware.Sensors.EV3IRSensor, MonoBrickFirmware.Sensors.AnalogSensor, MonoBrickFirmware.Sensors.HiTecColorSensor, MonoBrickFirmware.Sensors.UartSensor, MonoBrickFirmware.Sensors.EV3GyroSensor, MonoBrickFirmware.Sensors.NXTSoundSensor, MonoBrickFirmware.Sensors.NXTLightSensor, MonoBrickFirmware.Sensors.EV3ColorSensor, MonoBrickFirmware.Sensors.EV3UltrasonicSensor, MonoBrickFirmware.Sensors.HiTecGyroSensor, MonoBrickFirmware.Sensors.HiTecCompassSensor, MonoBrickFirmware.Sensors.EV3TouchSensor, and MonoBrickFirmware.Sensors.NXTTouchSensor.
string MonoBrickFirmware.Sensors.ISensor.SelectedMode | ( | ) |
.m.-,
Implemented in MonoBrickFirmware.Sensors.NXTColorSensor, MonoBrickFirmware.Sensors.NXTUltraSonicSensor, MonoBrickFirmware.Sensors.EV3IRSensor, MonoBrickFirmware.Sensors.I2CSensor, MonoBrickFirmware.Sensors.EV3ColorSensor, MonoBrickFirmware.Sensors.EV3GyroSensor, MonoBrickFirmware.Sensors.HiTecTiltSensor, MonoBrickFirmware.Sensors.NXTSoundSensor, MonoBrickFirmware.Sensors.NXTLightSensor, MonoBrickFirmware.Sensors.AnalogSensor, MonoBrickFirmware.Sensors.EV3UltrasonicSensor, MonoBrickFirmware.Sensors.HiTecColorSensor, MonoBrickFirmware.Sensors.EV3TouchSensor, MonoBrickFirmware.Sensors.NXTTouchSensor, MonoBrickFirmware.Sensors.HiTecGyroSensor, MonoBrickFirmware.Sensors.UartSensor, and MonoBrickFirmware.Sensors.HiTecCompassSensor.
void MonoBrickFirmware.Sensors.ISensor.SelectNextMode | ( | ) |
Selects the next mode.
Implemented in MonoBrickFirmware.Sensors.NXTColorSensor, MonoBrickFirmware.Sensors.NXTUltraSonicSensor, MonoBrickFirmware.Sensors.EV3IRSensor, MonoBrickFirmware.Sensors.I2CSensor, MonoBrickFirmware.Sensors.EV3ColorSensor, MonoBrickFirmware.Sensors.EV3GyroSensor, MonoBrickFirmware.Sensors.HiTecTiltSensor, MonoBrickFirmware.Sensors.NXTSoundSensor, MonoBrickFirmware.Sensors.AnalogSensor, MonoBrickFirmware.Sensors.NXTLightSensor, MonoBrickFirmware.Sensors.EV3UltrasonicSensor, MonoBrickFirmware.Sensors.HiTecColorSensor, MonoBrickFirmware.Sensors.EV3TouchSensor, MonoBrickFirmware.Sensors.NXTTouchSensor, MonoBrickFirmware.Sensors.UartSensor, MonoBrickFirmware.Sensors.HiTecGyroSensor, and MonoBrickFirmware.Sensors.HiTecCompassSensor.
void MonoBrickFirmware.Sensors.ISensor.SelectPreviousMode | ( | ) |
Selects the previous mode.
Implemented in MonoBrickFirmware.Sensors.NXTColorSensor, MonoBrickFirmware.Sensors.NXTUltraSonicSensor, MonoBrickFirmware.Sensors.EV3IRSensor, MonoBrickFirmware.Sensors.I2CSensor, MonoBrickFirmware.Sensors.EV3ColorSensor, MonoBrickFirmware.Sensors.EV3GyroSensor, MonoBrickFirmware.Sensors.HiTecTiltSensor, MonoBrickFirmware.Sensors.NXTSoundSensor, MonoBrickFirmware.Sensors.AnalogSensor, MonoBrickFirmware.Sensors.NXTLightSensor, MonoBrickFirmware.Sensors.EV3UltrasonicSensor, MonoBrickFirmware.Sensors.HiTecColorSensor, MonoBrickFirmware.Sensors.EV3TouchSensor, MonoBrickFirmware.Sensors.NXTTouchSensor, MonoBrickFirmware.Sensors.UartSensor, MonoBrickFirmware.Sensors.HiTecGyroSensor, and MonoBrickFirmware.Sensors.HiTecCompassSensor.
|
get |
Sensor port