Set sensor's type and mode.
Namespace:
AForge.Robotics.LegoAssembly: AForge.Robotics.Lego (in AForge.Robotics.Lego.dll) Version: 2.2.3.0 (2.2.3.0)
Syntax
| C# |
|---|
public bool SetSensorMode( NXTBrick..::.Sensor sensor, NXTBrick..::.SensorType type, NXTBrick..::.SensorMode mode ) |
Parameters
- sensor
- Type: AForge.Robotics.Lego..::.NXTBrick..::.Sensor
Sensor to set type of.
- type
- Type: AForge.Robotics.Lego..::.NXTBrick..::.SensorType
Sensor's type.
- mode
- Type: AForge.Robotics.Lego..::.NXTBrick..::.SensorMode
Sensor's mode.