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
addressintThe address of the register to which the Harp message refers to.
valueshortThe 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
addressintThe address of the register to which the Harp message refers to.
valuesshort[]The values to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage write command with the specified address and payload.