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