Method ReadRgbAllAsync
ReadRgbAllAsync(CancellationToken)
Asynchronously reads the contents of the RgbAll register.
public Task<RgbAllPayload> ReadRgbAllAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<RgbAllPayload>
A task that represents the asynchronous read operation. The Result property contains the register payload.