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