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