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