Method WriteSByte
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
intThe address of the register to which the Harp message refers to.
value
sbyteThe 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
intThe 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.