Table of Contents

Method CreateAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

CreateAsync(string)

Initializes a new instance of the asynchronous API to configure and interface with StepperDriver devices on the specified serial port.

public static Task<AsyncDevice> CreateAsync(string portName)

Parameters

portName string

The name of the serial port used to communicate with the Harp device.

Returns

Task<AsyncDevice>

A task that represents the asynchronous initialization operation. The value of the Result parameter contains a new instance of the AsyncDevice class.