Method WriteEnableEncodersAsync
- Namespace
- Harp.Behavior
- Assembly
- Harp.Behavior.dll
WriteEnableEncodersAsync(EncoderInputs, CancellationToken)
Asynchronously writes a value to the EnableEncoders register.
public Task WriteEnableEncodersAsync(EncoderInputs value, CancellationToken cancellationToken = default)
Parameters
valueEncoderInputsThe value to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.