C# Class AigamoControl.ArduinoDevice

Inheritance: IDisposable
Mostrar archivo Open project: takespace/aigamo Class Usage Examples

Public Properties

Property Type Description
INTERFACE_TTL232R5V ushort[]

Public Methods

Method Description
Dispose ( ) : void
FromIdAsync ( string deviceId ) : Task
GetDeviceInformationsFromUsbVidPidAsync ( ushort vidPid ) : Task
Read ( ) : Task
Write ( byte value ) : System.Threading.Tasks.Task
Write ( char command, byte data ) : System.Threading.Tasks.Task

Private Methods

Method Description
ArduinoDevice ( SerialDevice device ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FromIdAsync() public static method

public static FromIdAsync ( string deviceId ) : Task
deviceId string
return Task

GetDeviceInformationsFromUsbVidPidAsync() public static method

public static GetDeviceInformationsFromUsbVidPidAsync ( ushort vidPid ) : Task
vidPid ushort
return Task

Read() public method

public Read ( ) : Task
return Task

Write() public method

public Write ( byte value ) : System.Threading.Tasks.Task
value byte
return System.Threading.Tasks.Task

Write() public method

public Write ( char command, byte data ) : System.Threading.Tasks.Task
command char
data byte
return System.Threading.Tasks.Task

Property Details

INTERFACE_TTL232R5V public_oe static_oe property

public static ushort[] INTERFACE_TTL232R5V
return ushort[]