Method WriteSByteAsync
WriteSByteAsync(int, sbyte, CancellationToken)
Asynchronously writes a value to an 8-bit signed integer register with the specified address.
public Task WriteSByteAsync(int address, sbyte value, CancellationToken cancellationToken = default)
Parameters
addressintThe address of the register to write.
valuesbyteThe value to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteSByteAsync(int, sbyte[], CancellationToken)
Asynchronously writes an array of values to an 8-bit signed integer register with the specified address.
public Task WriteSByteAsync(int address, sbyte[] values, CancellationToken cancellationToken = default)
Parameters
addressintThe address of the register to write.
valuessbyte[]The values to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.