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