Table of Contents

Method WriteByte

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

WriteByte(int, byte)

Returns a HarpMessage write command with the specified address, and a single value 8-bit unsigned integer payload.

public static HarpMessage WriteByte(int address, byte value)

Parameters

address int

The address of the register to which the Harp message refers to.

value byte

The value to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage write command with the specified address and payload.

WriteByte(int, params byte[])

Returns a HarpMessage write command with the specified address, and an array payload of 8-bit unsigned integers.

public static HarpMessage WriteByte(int address, params byte[] values)

Parameters

address int

The address of the register to which the Harp message refers to.

values byte[]

The values to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage write command with the specified address and payload.