Echo an array of bytes.

Namespace:  Bespoke.Robotics.BrainStem
Assembly:  Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static byte[] Debug(
	byte iicAddress,
	byte[] data
)
Visual Basic (Declaration)
Public Shared Function Debug ( _
	iicAddress As Byte, _
	data As Byte() _
) As Byte()
Visual C++
public:
static array<unsigned char>^ Debug(
	unsigned char iicAddress, 
	array<unsigned char>^ data
)

Parameters

iicAddress
Type: System..::.Byte
The address of the IIC module referenced by the packet.
data
Type: array< System..::.Byte >[]()[]
The array of raw bytes to be sent to the BrainStem.

Return Value

A byte array containing the same bytes that were passed in.

Exceptions

ExceptionCondition
Bespoke.Robotics.BrainStem.Exceptions..::.CommandExceptionThrown if there's an error processing the command.

See Also