Table of Contents

Method WriteInt32

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

WriteInt32(int, int)

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

public static HarpMessage WriteInt32(int address, int value)

Parameters

address int

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

value int

The value to be stored in the payload.

Returns

HarpMessage

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

WriteInt32(int, params int[])

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

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

Parameters

address int

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

values int[]

The values to be stored in the payload.

Returns

HarpMessage

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