Method ReadByteAsync
ReadByteAsync(int, CancellationToken)
Asynchronously reads the value of an 8-bit unsigned integer register with the specified address.
public Task<byte> ReadByteAsync(int address, CancellationToken cancellationToken = default)
Parameters
addressintThe address of the register to read.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.