Table of Contents

Method WriteUInt16

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

WriteUInt16(int, ushort)

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

public static HarpMessage WriteUInt16(int address, ushort value)

Parameters

address int

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

value ushort

The value to be stored in the payload.

Returns

HarpMessage

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

WriteUInt16(int, params ushort[])

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

public static HarpMessage WriteUInt16(int address, params ushort[] values)

Parameters

address int

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

values ushort[]

The values to be stored in the payload.

Returns

HarpMessage

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