Method WriteInput2OpModeAsync
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
WriteInput2OpModeAsync(InputOpModeConfig, CancellationToken)
Asynchronously writes a value to the Input2OpMode register.
public Task WriteInput2OpModeAsync(InputOpModeConfig value, CancellationToken cancellationToken = default)
Parameters
value
InputOpModeConfigThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.