Read data from Low Speed bus.

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 LsRead(
	NXTBrick..::.Sensor sensor,
	byte[] readValues,
	out int bytesRead
)

Parameters

sensor
Type: AForge.Robotics.Lego..::.NXTBrick..::.Sensor
Sensor to read data from.
readValues
Type: array< System..::.Byte >[]()[]
Array to read data to.
bytesRead
Type: System..::.Int32 %
Bytes actually read from I2C device.

Return Value

Returns true if command was executed successfully or false otherwise.

See Also