Clear sensor's scaled value.

Namespace:  AForge.Robotics.Lego
Assembly:  AForge.Robotics.Lego (in AForge.Robotics.Lego.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public bool ClearSensor(
	NXTBrick..::.Sensor sensor,
	bool waitReply
)

Parameters

sensor
Type: AForge.Robotics.Lego..::.NXTBrick..::.Sensor
Sensor to clear value of.
waitReply
Type: System..::.Boolean
Wait reply from NXT (safer option) or not (faster option).

Return Value

Returns true if command was executed successfully or false otherwise.

See Also