Method ReadInputStateAsync
- Namespace
- Harp.CameraControllerGen2
- Assembly
- Harp.CameraControllerGen2.dll
ReadInputStateAsync(CancellationToken)
Asynchronously reads the contents of the InputState register.
public Task<DigitalInputs> ReadInputStateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalInputs>
A task that represents the asynchronous read operation. The Result property contains the register payload.