Method WriteByte
WriteByte(int, byte)
Returns a HarpMessage write command with the specified address, and a single value 8-bit unsigned integer payload.
public static HarpMessage WriteByte(int address, byte value)
Parameters
addressintThe address of the register to which the Harp message refers to.
valuebyteThe value to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage write command with the specified address and payload.
WriteByte(int, params byte[])
Returns a HarpMessage write command with the specified address, and an array payload of 8-bit unsigned integers.
public static HarpMessage WriteByte(int address, params byte[] values)
Parameters
addressintThe address of the register to which the Harp message refers to.
valuesbyte[]The values to be stored in the payload.
Returns
- HarpMessage
A valid HarpMessage write command with the specified address and payload.