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
address
intThe address of the register to read.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.