Method WriteMotor2HoldCurrentReductionAsync
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
WriteMotor2HoldCurrentReductionAsync(HoldCurrentReduction, CancellationToken)
Asynchronously writes a value to the Motor2HoldCurrentReduction register.
public Task WriteMotor2HoldCurrentReductionAsync(HoldCurrentReduction value, CancellationToken cancellationToken = default)
Parameters
value
HoldCurrentReductionThe 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.