Table of Contents

Method WriteInt16

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

WriteInt16(int, short)

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

public static HarpMessage WriteInt16(int address, short value)

Parameters

address int

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

value short

The value to be stored in the payload.

Returns

HarpMessage

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

WriteInt16(int, params short[])

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

public static HarpMessage WriteInt16(int address, params short[] values)

Parameters

address int

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

values short[]

The values to be stored in the payload.

Returns

HarpMessage

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