Table of Contents

Method WriteSByte

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

WriteSByte(int, sbyte)

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

public static HarpMessage WriteSByte(int address, sbyte value)

Parameters

address int

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

value sbyte

The value to be stored in the payload.

Returns

HarpMessage

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

WriteSByte(int, params sbyte[])

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

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

Parameters

address int

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

values sbyte[]

The values to be stored in the payload.

Returns

HarpMessage

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