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